Fixing repository routes (#2967).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2581 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-03-13 17:45:47 +00:00
parent 74d8739936
commit 0100011e5c
4 changed files with 13 additions and 12 deletions
@@ -5,6 +5,7 @@
<td style="padding-left: <%=18 * depth%>px;" class="filename">
<% if entry.is_dir? %>
<span class="expander" onclick="<%= remote_function :url => {:action => 'browse', :id => @project, :path => to_path_param(entry.path), :rev => @rev, :depth => (depth + 1), :parent_id => tr_id},
:method => :get,
:update => { :success => tr_id },
:position => :after,
:success => "scmEntryLoaded('#{tr_id}')",
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="contextual">
<% form_tag do %>
<% form_tag({}, :method => :get) do %>
<%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>
<% end %>
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
<% if !@entries.nil? && authorize_for('repositories', 'browse') -%>
<% form_tag(:action => 'browse', :id => @project) do -%>
<% form_tag({:action => 'browse', :id => @project}, :method => :get) do -%>
| <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>
<% end -%>
<% end -%>