summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-13 18:34:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-13 18:34:45 +0000
commitabf3fe9c83d8e0e832d4e4d211eafbeb27ea72b1 (patch)
tree880ebf98a661fbcf542d5acd4bb3ff1d71ed0152 /app/views/versions
parent7e54597dcca1a795027a1d18faab7c9a71f970a6 (diff)
downloadredmine-abf3fe9c83d8e0e832d4e4d211eafbeb27ea72b1.tar.gz
redmine-abf3fe9c83d8e0e832d4e4d211eafbeb27ea72b1.zip
Adds a link to spent time on version details (#13558).
git-svn-id: http://svn.redmine.org/redmine/trunk@15648 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/show.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb
index 27e70aab4..f018c2d8e 100644
--- a/app/views/versions/show.html.erb
+++ b/app/views/versions/show.html.erb
@@ -22,7 +22,8 @@
<% if User.current.allowed_to_view_all_time_entries?(@project) %>
<tr>
<th><%= l(:label_spent_time) %></th>
- <td class="total-hours"><%= html_hours(l_hours(@version.spent_hours)) %></td>
+ <td class="total-hours"><%= link_to html_hours(l_hours(@version.spent_hours)),
+ project_time_entries_path(@version.project, :set_filter => 1, :"issue.fixed_version_id" => @version.id) %></td>
</tr>
<% end %>
</table>