Fix help_url things

This commit is contained in:
Eric Schultz 2018-08-08 10:40:53 -05:00
parent a0567a1d96
commit ab2cd71865
4 changed files with 17 additions and 14 deletions

View file

@ -16,8 +16,10 @@
</ul>
<ul class='col-4 u-noClear u-margin--0'>
<% if Settings.terms_and_privacy&.help_url %>
<li><%= link_to("Help", Settings.terms_and_privacy.help_url) %></li>
<% end %>
<li><a href='/help'>Help</a></li>
</ul>
<%# <div class='globalFooter-mailingListCol'> %>

View file

@ -29,14 +29,12 @@
<i class='sideNav-icon icon-binocular'></i>
<span class='sideNav-text'>Explore</span>
</a>
<a class='sideNav-link' href="/help">
<i class='sideNav-icon icon-bubble-ask-2'></i>
<span class='sideNav-text'>Help</span>
</a>
<a class='sideNav-link' href="/blog">
<i class='sideNav-icon icon-megaphone-1'></i>
<span class='sideNav-text'>Blog</span>
</a>
<% if Settings.terms_and_privacy&.help_url %>
<a class='sideNav-link' href="<%=Settings.terms_and_privacy.help_url %>">
<i class='sideNav-icon icon-bubble-ask-2'></i>
<span class='sideNav-text'>Help</span>
</a>
<% end %>
</section>
<% end %>
</nav>

View file

@ -18,10 +18,13 @@
<span class='sideNav-text'>Settings</span>
</a>
<% if current_role?([:nonprofit_admin,:nonprofit_associate]) %>
<a class='sideNav-link' href='/help'>
<i class='sideNav-icon icon-question-mark'></i>
<span class='sideNav-text'>Help</span>
</a>
<% if Settings.terms_and_privacy&.help_url %>
<a class='sideNav-link' href='<%=Settings.terms_and_privacy.help_url %>'>
<i class='sideNav-icon icon-question-mark'></i>
<span class='sideNav-text'>Help</span>
</a>
<% end %>
<% end %>
<a class='sideNav-link' href='<%= destroy_user_session_path %>'>
<i class='sideNav-icon icon-log-out-1'></i>

View file

@ -9,6 +9,6 @@
Once you've started completing these tasks, you'll see your dashboard come to life with helpful data and reminders.
</span>
If you need help with any these tasks, visit our <a href='/help'>Help Center</a>.
<% if Settings.terms_and_privacy&.help_url %><span><%= link_to("Help", Settings.terms_and_privacy.help_url) %></span><% end %>
</p>
</div>