新建版本 --新页面设计
This commit is contained in:
parent
3980e84817
commit
c376c0e38f
|
@ -13,5 +13,5 @@
|
|||
project_issues_path(version.project, :status_id => 'o', :fixed_version_id => version, :set_filter => 1), :class =>"c_dblue") %>)
|
||||
</p>
|
||||
<% else %>
|
||||
<p><%= l(:label_roadmap_no_issues) %></p>
|
||||
<div class="flash error"><%= l(:label_roadmap_no_issues) %></div>
|
||||
<% end %>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
</div>
|
||||
<div class="contextual" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
|
||||
<%= link_to(l(:button_edit), edit_version_path(@version), :class => 'icon icon-edit') if User.current.allowed_to?(:manage_versions, @version.project) %>
|
||||
<%= link_to_if_authorized(l(:button_edit_associated_wikipage,
|
||||
<%#= link_to_if_authorized(l(:button_edit_associated_wikipage,
|
||||
:page_title => @version.wiki_page_title.truncate(30, omission: '...')),
|
||||
{:controller => 'wiki',
|
||||
:action => 'edit',
|
||||
|
@ -17,7 +17,7 @@
|
|||
<%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
|
||||
</div>
|
||||
|
||||
<h3 style="word-break: break-all;word-wrap: break-word;">
|
||||
<h3 style="word-break: break-all;word-wrap: break-word;color: #64BDD9;">
|
||||
<%= h(@version.name) %>
|
||||
</h3>
|
||||
|
||||
|
@ -27,11 +27,11 @@
|
|||
|
||||
<div class="splitcontent">
|
||||
<% if @version.estimated_hours > 0 || User.current.allowed_to?(:view_time_entries, @project) %>
|
||||
<fieldset class="time-tracking"><legend><%= l(:label_time_tracking) %></legend>
|
||||
<fieldset class="time_tracter f14"><legend><%= l(:label_time_tracking) %></legend>
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
<p class="fl c_blue f14 fb"><%= l(:field_estimated_hours) %>:</p>
|
||||
<p class="fl c_grey f12"><%= l(:field_estimated_hours) %>:</p>
|
||||
</th>
|
||||
<td class="total-hours">
|
||||
<%= html_hours(l_hours(@version.estimated_hours)) %>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<% if User.current.allowed_to?(:view_time_entries, @project) %>
|
||||
<tr>
|
||||
<th>
|
||||
<p class="fr c_blue f14 fb"><%= l(:label_spent_time) %>:</p>
|
||||
<p class="fr c_grey f12"><%= l(:label_spent_time) %>:</p>
|
||||
</th>
|
||||
<td class="total-hours">
|
||||
<%= html_hours(l_hours(@version.spent_hours)) %>
|
||||
|
|
|
@ -690,7 +690,7 @@ zh:
|
|||
label_sort_lowest: 置底
|
||||
label_roadmap_due_in: "截止日期到 %{value}"
|
||||
label_roadmap_overdue: "%{value} 延期"
|
||||
label_roadmap_no_issues: 该版本没有问题
|
||||
label_roadmap_no_issues: 该版本暂时未发布缺陷!
|
||||
label_user_search_type: 搜索类型
|
||||
label_search_by_login: 登录名
|
||||
label_search_by_name: 名字
|
||||
|
|
|
@ -775,4 +775,6 @@ a:hover.Reply_pic{border:1px solid #64bdd9;}
|
|||
|
||||
#about_newtalk{ display:none;}
|
||||
|
||||
/*version*/
|
||||
.time_tracter{color: #64BDD9;padding: 5px;}
|
||||
|
||||
|
|
Loading…
Reference in New Issue