From d2a9c9f9ad38552db489ffe3a09e9b05f7a5baf3 Mon Sep 17 00:00:00 2001 From: tmcltr Date: Thu, 27 Oct 2016 14:04:14 -0700 Subject: [PATCH] make consistent with other items in attributes box --- lib/issues_vote_hook.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/issues_vote_hook.rb b/lib/issues_vote_hook.rb index ac06212..db76311 100644 --- a/lib/issues_vote_hook.rb +++ b/lib/issues_vote_hook.rb @@ -1,10 +1,10 @@ # Provides a link to the issue age graph on the issue index page class IssuesVoteHook < Redmine::Hook::ViewListener render_on :view_issues_show_details_bottom, :inline => <<-END - +
<% if authorize_for('issues', 'view_votes') || authorize_for('issues', 'view_voter') || (authorize_for('issues', 'vote') && !@issue.voted_by_user?) || authorize_for('issues', 'multiple_vote') %> - <%= l :label_votes %>: + <%= l :label_votes %>:
<% end %> <% if authorize_for('issues', 'view_votes') %> @@ -18,6 +18,6 @@ class IssuesVoteHook < Redmine::Hook::ViewListener <%= link_to("", { :controller => 'vote', :action => 'down', :id => @issue }, :class => 'icon icon-vote-down', :method => 'post') %> <% end %> - +
END end