|
|
@ -4,7 +4,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="contextual" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
|
|
|
|
<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(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: '...')),
|
|
|
|
:page_title => @version.wiki_page_title.truncate(30, omission: '...')),
|
|
|
|
{:controller => 'wiki',
|
|
|
|
{:controller => 'wiki',
|
|
|
|
:action => 'edit',
|
|
|
|
:action => 'edit',
|
|
|
@ -17,7 +17,7 @@
|
|
|
|
<%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
|
|
|
|
<%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
|
|
|
|
</div>
|
|
|
|
</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) %>
|
|
|
|
<%= h(@version.name) %>
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
@ -27,11 +27,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="splitcontent">
|
|
|
|
<div class="splitcontent">
|
|
|
|
<% if @version.estimated_hours > 0 || User.current.allowed_to?(:view_time_entries, @project) %>
|
|
|
|
<% 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>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
<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>
|
|
|
|
</th>
|
|
|
|
<td class="total-hours">
|
|
|
|
<td class="total-hours">
|
|
|
|
<%= html_hours(l_hours(@version.estimated_hours)) %>
|
|
|
|
<%= html_hours(l_hours(@version.estimated_hours)) %>
|
|
|
@ -40,7 +40,7 @@
|
|
|
|
<% if User.current.allowed_to?(:view_time_entries, @project) %>
|
|
|
|
<% if User.current.allowed_to?(:view_time_entries, @project) %>
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th>
|
|
|
|
<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>
|
|
|
|
</th>
|
|
|
|
<td class="total-hours">
|
|
|
|
<td class="total-hours">
|
|
|
|
<%= html_hours(l_hours(@version.spent_hours)) %>
|
|
|
|
<%= html_hours(l_hours(@version.spent_hours)) %>
|
|
|
|