修改了issues里“顶”和“踩”图标的位置

This commit is contained in:
baiyu 2013-09-28 16:03:23 +08:00
parent a88cb3ad2b
commit aed36229f8
4 changed files with 91 additions and 72 deletions

View File

@ -69,7 +69,7 @@
</tr>
<% previous_group = group %>
<% end %>
<div style="float: right">
<li id="issue-<%= issue.id %>" class="hascontextmenu-1 <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
<% column_content = ( query.inline_columns.map {|column| "#{column_content_new(column, issue)}"}) %>
@ -114,7 +114,10 @@
</div>
</ul>
</ul>
</li>
</div>
<% @query.block_columns.each do |column|
if (text = column_content(column, issue)) && text.present? -%>
@ -127,4 +130,14 @@
</tbody>
</ul>
</div>
<div>
<% end -%>
</div>
<div style="float: right; padding-top: 30px">
<% other_formats_links do |f| %>
<%= f.link_to 'Atom', :url => params.merge(:key => User.current.rss_key) %>
<%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
<%= f.link_to 'PDF', :url => params %>
<% end %>
</div>

View File

@ -52,16 +52,20 @@
</div>
</fieldset>
</div>
<p class="buttons hide-when-print">
<div class="buttons hide-when-print">
<%= link_to_function l(:label_issue_query), 'submit_query_form("query_form")', :class => 'icon icon-checked' %>
<%= link_to l(:label_issue_cancel_query), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>
</p>
</div>
<% end %>
<%= error_messages_for 'query' %>
<% if @query.valid? %>
<% if @issues.empty? %>
<table>
<tr><td>
<p class="nodata">
<%= l(:label_no_data) %>
</p>
@ -72,14 +76,15 @@
<ul>
<%= pagination_links_full @issue_pages, @issue_count %>
<ul>
</div>
</div>
<% end %>
</td></tr>
<tr><td>
</td></tr>
</table>
<% other_formats_links do |f| %>
<%= f.link_to 'Atom', :url => params.merge(:key => User.current.rss_key) %>
<%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
<%= f.link_to 'PDF', :url => params %>
<% end %>
<div id="csv-export-options" style="display:none;">
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>

View File

@ -17,7 +17,7 @@
<%= f.fields_for @course do |m| %>
<!-- added by huang -->
<p style="margin-left:-10px;"><%= m.text_field :state, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
<p style="margin-left:-10px;"><%= m.text_field :password, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
<em class="info" style="margin-left:95px;"><%= l(:text_command) %></em>
<p style="margin-left:-10px;"><%= m.text_field :term, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
<!-- <p style="margin-left:-28px;"><em class="info"><%= l(:label_term) %> <%= select_tag 'term', "<option value = '0'>#{l(:label_spring)}</option><option value = '1'>#{l(:label_summer)}</option><option value = '2'>#{l(:label_autumn)}</option>".html_safe %></em></p> -->

View File

@ -522,11 +522,12 @@ zh:
label_user_login_new: 登录
label_user_login_tips: 您还没有登录,请登录后留言
#end
#by huang
#by huang # modified by bai
label_term: 学期
label_spring: 春季
label_summer: 夏季
label_autumn: 秋季
label_spring: 春季学期
label_summer: 夏季学期
label_autumn: 秋季学期
label_winter: 冬季学期
label_followers: 关注
label_teacher: 教师
label_limit_time: 截止日期