Changeset 1232

Show
Ignore:
Timestamp:
09/10/08 15:45:56 (4 months ago)
Author:
kovit
Message:

Add menu find by file type

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/views/file/file_list.html.erb

    r1131 r1232  
    88  <div class="box"> 
    99    <div class="title"><%= @subject %></div> 
     10    <div class="center"> 
     11    <% if @subject == _("Recent Files Audio") -%> 
     12    <%= link_to _("Recent Files"), file_recent_url %> | 
     13    <%= link_to _("Recent Files images"), file_recent_only_images_url %> | 
     14    <%= link_to _("Recent Files application"), file_recent_application_url %> 
     15      <% else if @subject == _("Recent Files images") -%> 
     16         <%= link_to _("Recent Files"), file_recent_url %> | 
     17         <%= link_to _("Recent Files Audio"), file_recent_audio_url %> | 
     18         <%= link_to _("Recent Files application"), file_recent_application_url %> 
     19        <% else if @subject == _("Recent Files application") -%> 
     20            <%= link_to _("Recent Files"), file_recent_url %> | 
     21            <%= link_to _("Recent Files images"), file_recent_only_images_url %> | 
     22            <%= link_to _("Recent Files Audio"), file_recent_audio_url %> 
     23        <% else -%> 
     24            <%= link_to _("Recent Files images"), file_recent_only_images_url %> | 
     25            <%= link_to _("Recent Files Audio"), file_recent_audio_url %> | 
     26            <%= link_to _("Recent Files application"), file_recent_application_url %> 
     27        <% end -%> 
     28      <% end -%> 
     29    <% end -%> 
     30    </div> 
    1031    <% if @files.empty? -%> 
    1132      <p><%= _("No File") %></p>