Project

General

Profile

Patch #16240 » 0001-mark-private-notes-more-clearly.patch

Jan from Planio www.plan.io, 2014-03-05 20:16

View differences:

app/views/issues/_history.html.erb
4 4
    <div id="note-<%= journal.indice %>">
5 5
    <h4><%= link_to "##{journal.indice}", {:anchor => "note-#{journal.indice}"}, :class => "journal-link" %>
6 6
    <%= avatar(journal.user, :size => "24") %>
7
    <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
7
    <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>
8
    <%= content_tag('span', l(:field_is_private), :class => 'private') if journal.private_notes? %></h4>
8 9

  
9 10
    <% if journal.details.any? %>
10 11
    <ul class="details">
public/stylesheets/application.css
346 346
div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
347 347
div.issue div.subject>div>p { margin-top: 0.5em; }
348 348
div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
349
div.issue span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;}
349
div.issue span.private, div.journal span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;}
350 350
div.issue .next-prev-links {color:#999;}
351 351
div.issue table.attributes th {width:22%;}
352 352
div.issue table.attributes td {width:28%;}
(1-1/2)