Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change the styling of private tags
  • Loading branch information
sbillard committed Mar 25, 2018
1 parent 1b17728 commit 1da9987
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zp-core/admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ function tagListElement($postit, $class, $tagLC, $item, $lang, $private, $count,
}

if ($private) {
echo '<span style = "text-decoration: overline underline">' . html_encode($item) . '</span>';
echo '<span class="privatetag">' . html_encode($item) . '</span>';
} else {
echo html_encode($item);
}
Expand Down
2 changes: 1 addition & 1 deletion zp-core/admin-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
} else {
echo gettext('Place a checkmark in the box for each tag you wish to delete then press the appropriate button. The brackets contain the number of times the tag appears.');
}
echo gettext('Tags that are <span style="text-decoration: overline underline">over/underlined</span> are private.');
echo gettext('Tags that are <span class="privatetag">highlighted</span> are private.');
?></p>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions zp-core/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -2579,6 +2579,10 @@ ul.page-list {
background-color:#F1F2F3;
}

.privatetag {
background-color:gold;
}

.ui-nestedSortable-error {
background: red; /*#fbe3e4;*/
color: #8a1f11;
Expand Down

0 comments on commit 1da9987

Please sign in to comment.