#1175修改代码评审中的中文问题
This commit is contained in:
parent
4090834c2e
commit
5aa68ba9b4
|
@ -17,15 +17,17 @@
|
||||||
:revisions => @changesets,
|
:revisions => @changesets,
|
||||||
:entry => nil } %>
|
:entry => nil } %>
|
||||||
|
|
||||||
<div class="pagination"><%= pagination_links_full @changeset_pages,@changeset_count %></div>
|
<div class="pagination">
|
||||||
|
<%= pagination_links_full @changeset_pages,@changeset_count %>
|
||||||
|
</div>
|
||||||
|
|
||||||
<% content_for :header_tags do %>
|
<% content_for :header_tags do %>
|
||||||
<%= stylesheet_link_tag "scm" %>
|
<%= stylesheet_link_tag "scm" %>
|
||||||
<%= auto_discovery_link_tag(
|
<%= auto_discovery_link_tag(
|
||||||
:atom,
|
:atom,
|
||||||
params.merge(
|
params.merge(
|
||||||
{:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
|
{:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% other_formats_links do |f| %>
|
<% other_formats_links do |f| %>
|
||||||
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
|
||||||
|
|
|
@ -24,10 +24,14 @@
|
||||||
<%= error_messages_for 'review' -%>
|
<%= error_messages_for 'review' -%>
|
||||||
<%= error_messages_for 'reply' -%>
|
<%= error_messages_for 'reply' -%>
|
||||||
<% if @notice -%>
|
<% if @notice -%>
|
||||||
<div class="flash notice"><%= @notice -%></div>
|
<div class="flash notice">
|
||||||
|
<%= @notice -%>
|
||||||
|
</div>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% if @error -%>
|
<% if @error -%>
|
||||||
<div class="flash error"><%= @error -%></div>
|
<div class="flash error">
|
||||||
|
<%= @error -%>
|
||||||
|
</div>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<!-- code review view -->
|
<!-- code review view -->
|
||||||
|
@ -77,9 +81,7 @@
|
||||||
|
|
||||||
<!-- review comment edit form -->
|
<!-- review comment edit form -->
|
||||||
<div class="box" id="update-form-<%= @review.id %>" style="display:none;">
|
<div class="box" id="update-form-<%= @review.id %>" style="display:none;">
|
||||||
<%
|
<% review_form_id = "review_form_#{@review.id}" -%>
|
||||||
review_form_id = "review_form_#{@review.id}"
|
|
||||||
-%>
|
|
||||||
<%= form_for :review,
|
<%= form_for :review,
|
||||||
:url => {:controller => 'code_review',
|
:url => {:controller => 'code_review',
|
||||||
:action => 'update',
|
:action => 'update',
|
||||||
|
@ -111,7 +113,7 @@
|
||||||
<%
|
<%
|
||||||
submit_url = url_for(:controller => 'code_review', :action => 'update', :id => @project)
|
submit_url = url_for(:controller => 'code_review', :action => 'update', :id => @project)
|
||||||
-%>
|
-%>
|
||||||
<%= button_to_function l(:button_apply), "$('#show_review_#{@review.id}').load('#{submit_url}', $('##{review_form_id}').serialize())" %>
|
<%= button_to_function l(:button_submit), "$('#show_review_#{@review.id}').load('#{submit_url}', $('##{review_form_id}').serialize())" %>
|
||||||
<input type="button" value="<%=h l(:button_cancel) %>" onclick='$("#review_form_<%= @review.id %>").hide();' />
|
<input type="button" value="<%=h l(:button_cancel) %>" onclick='$("#review_form_<%= @review.id %>").hide();' />
|
||||||
<%= link_to_function l(:label_preview), "$('#preview_#{@review.id}').load('#{url_for(:controller => 'code_review', :action => 'preview', :id => @project)}', $('##{review_form_id}').serialize())" %>
|
<%= link_to_function l(:label_preview), "$('#preview_#{@review.id}').load('#{url_for(:controller => 'code_review', :action => 'preview', :id => @project)}', $('##{review_form_id}').serialize())" %>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue