Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Toolbar fixes #244

Merged
merged 2 commits into from

1 participant

@loarie
Owner

make checklist tools show up

@loarie loarie merged commit a957529 into from
@loarie loarie deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 28, 2014
  1. @loarie

    some toolbar fixes

    loarie authored
Commits on Mar 3, 2014
  1. @loarie

    minor clean up

    loarie authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 6 deletions.
  1. +4 −6 app/views/lists/_tools.html.erb
View
10 app/views/lists/_tools.html.erb
@@ -81,14 +81,12 @@
"confirmStartDelayed('#{escape_javascript(msg)}', '#{list_refresh_path(@list.id)}', #{LifeList::MAX_RELOAD_TRIES}, 'refreshlink')",
:id => "refreshlink" %>
</li>
- <li>
- <%= link_to t(:find_missing_listings), {find_missing_listings: true, missing_filter_taxon: @list.taxon_id} %>
- </li>
</ul>
- <% elsif list.is_a?(CheckList) && !list.is_default? %>
+ <% elsif list.is_a?(CheckList) %>
<% if logged_in? && current_user.is_admin? -%>
<div class="admin">
<ul>
+ <li>&nbsp;</li>
<% if list.is_default? %>
<li>
<%- msg = t(:this_will_add_listed_taxa) -%>
@@ -98,8 +96,8 @@
</li>
<% end %>
<li>
- <%- msg = t(:this_will_re_apply_all_list_rules).gsub(/\s+/m, " ") -%>
- <%= link_to_function t(:re_apply_list_rules),
+ <%- msg = t(:this_will_refresh_listed_taxa).gsub(/\s+/m, " ") -%>
+ <%= link_to_function t(:refresh),
"confirmStartDelayed('#{escape_javascript(msg)}', '#{list_refresh_now_path(@list.id)}', #{CheckList::MAX_RELOAD_TRIES}, 'refresh_nowlink')",
:id => "refresh_nowlink" %>
</li>
Something went wrong with that request. Please try again.