forked from IsaacLewis/eol
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed some queries to make them (hopefully) faster
git-svn-id: file:///data/subversion/eol/trunk@2045 78829999-583a-0410-bd01-8a9b849fd409
- Loading branch information
pleary
committed
Jun 10, 2010
1 parent
8b08a78
commit dcb023b
Showing
3 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
- link_class = entry['has_content'] ? '' : 'light' | ||
/ %a{:href => '', :class => link_class, :onclick => "update_browser(#{entry['id']}, 0); return false;"} | ||
= link_to(entry['name_string'], {:controller => "taxa", :action => "show", :id => entry['taxon_concept_id'] }, :class => link_class, :onclick=>"showAjaxIndicator();") | ||
/ - unless entry['rank_label'].blank? | ||
/ %span.rank | ||
/ = entry['rank_label'] | ||
-#- unless entry['rank_label'].blank? | ||
-# %span.rank | ||
-# = entry['rank_label'] | ||
- unless @in_hierarchy && entry['id'] == @hierarchy_entry.id | ||
%a.expand{ :href => "JavaScript:displayNode(#{entry['id']})" } | ||
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters