Commit be87834e234e0fc06d31da45c34b250c1d76a298

Authored by Victor Costa
1 parent 7b733153

Improve task visualization

lib/proposals_discussion_plugin/proposal_task.rb
... ... @@ -157,7 +157,7 @@ class ProposalsDiscussionPlugin::ProposalTask < Task
157 157 end
158 158  
159 159 def information
160   - {:message => _("%{requestor} wants to send the following proposal. <br/>%{abstract}"), :variables => {:abstract => abstract}}
  160 + {:message => _("<span class=\"requestor\">%{requestor}</span> <span class=\"action-label\">wants to send the following proposal.</span><br/><span class=\"abstract\">%{abstract}</span>"), :variables => {:abstract => CGI.escapeHTML(abstract)}}
161 161 end
162 162  
163 163 def icon
... ...
public/style.css
... ... @@ -381,3 +381,11 @@ div.confirm_evaluation_button a.disabled {
381 381 color: gray;
382 382 visibility: hidden;
383 383 }
  384 +
  385 +.task-processed .task .title .abstract {
  386 + margin: 5px 10px;
  387 + font-style: italic;
  388 + display: inline-block;
  389 + color: rgb(77, 77, 77);
  390 + font-weight: normal;
  391 +}
... ...