summaryrefslogtreecommitdiffstats
path: root/app/views/issues/_trackers_description.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 10:38:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-03-15 10:38:56 +0000
commit84f322b2af0e2a781a1fcc3ae4dd1e6845b22b66 (patch)
tree87a00a7afb6748ecc62d02e61b5b9bdba73269a3 /app/views/issues/_trackers_description.html.erb
parent3b59c6dfb200bc5d5434cdc1f5a71478747297d9 (diff)
downloadredmine-84f322b2af0e2a781a1fcc3ae4dd1e6845b22b66.tar.gz
redmine-84f322b2af0e2a781a1fcc3ae4dd1e6845b22b66.zip
Add a description for trackers (#442).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/_trackers_description.html.erb')
-rw-r--r--app/views/issues/_trackers_description.html.erb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/issues/_trackers_description.html.erb b/app/views/issues/_trackers_description.html.erb
new file mode 100644
index 000000000..63c361983
--- /dev/null
+++ b/app/views/issues/_trackers_description.html.erb
@@ -0,0 +1,13 @@
+<% if trackers.any? {|t| t.description.present? } %>
+ <div class="modal" id="trackers_description">
+ <h3 class="title"><%= l(:label_trackers_description) %></h3>
+ <dl>
+ <% trackers.each do |tracker| %>
+ <% if tracker.description.present? %>
+ <dt><%= tracker.name %></dt>
+ <dd><%= tracker.description %></dd>
+ <% end %>
+ <% end %>
+ </dl>
+ </div>
+<% end %>