1、项目版本库中查看修订导航栏丢失,原因未指定layout,解决:指定laout。2、项目版本库操作中有两页面存在英文的ok按钮,将其通过国际化改为中文
This commit is contained in:
parent
a97511750c
commit
4c58b6a50c
|
@ -372,7 +372,7 @@ class RepositoriesController < ApplicationController
|
||||||
|
|
||||||
def revision
|
def revision
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html
|
format.html{render :layout => 'project_base'}
|
||||||
format.js {render :layout => false}
|
format.js {render :layout => false}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
:rev => nil},
|
:rev => nil},
|
||||||
:method => :get) do %>
|
:method => :get) do %>
|
||||||
<%= text_field_tag 'rev', @rev, :size => 8 %>
|
<%= text_field_tag 'rev', @rev, :size => 8 %>
|
||||||
<%= submit_tag 'OK', :name => nil %>
|
<%= submit_tag l(:label_button_ok), :name => nil %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
:method => :get
|
:method => :get
|
||||||
) do %>
|
) do %>
|
||||||
<%= l(:label_revision) %>: <%= text_field_tag 'rev', nil, :size => 8 %>
|
<%= l(:label_revision) %>: <%= text_field_tag 'rev', nil, :size => 8 %>
|
||||||
<%= submit_tag 'OK' %>
|
<%= submit_tag l(:label_button_ok) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue