1、项目版本库中查看修订导航栏丢失,原因未指定layout,解决:指定laout。2、项目版本库操作中有两页面存在英文的ok按钮,将其通过国际化改为中文

This commit is contained in:
z9hang 2014-09-02 11:02:16 +08:00
parent a97511750c
commit 4c58b6a50c
3 changed files with 3 additions and 3 deletions

View File

@ -372,7 +372,7 @@ class RepositoriesController < ApplicationController
def revision
respond_to do |format|
format.html
format.html{render :layout => 'project_base'}
format.js {render :layout => false}
end
end

View File

@ -20,7 +20,7 @@
:rev => nil},
:method => :get) do %>
<%= text_field_tag 'rev', @rev, :size => 8 %>
<%= submit_tag 'OK', :name => nil %>
<%= submit_tag l(:label_button_ok), :name => nil %>
<% end %>
</div>

View File

@ -5,7 +5,7 @@
:method => :get
) do %>
<%= l(:label_revision) %>: <%= text_field_tag 'rev', nil, :size => 8 %>
<%= submit_tag 'OK' %>
<%= submit_tag l(:label_button_ok) %>
<% end %>
</div>