This is an automated email from the ASF dual-hosted git repository.
brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/master by this push:
new 573e81e4b make active notifications easier to see in the list
573e81e4b is described below
commit 573e81e4b3b9af9f6f565afceec3544fa704236b
Author: Dave Brondsema <[email protected]>
AuthorDate: Mon Feb 12 12:24:46 2024 -0500
make active notifications easier to see in the list
---
Allura/allura/templates/site_admin_site_notifications_list.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Allura/allura/templates/site_admin_site_notifications_list.html
b/Allura/allura/templates/site_admin_site_notifications_list.html
index b289c355c..dce9e6504 100644
--- a/Allura/allura/templates/site_admin_site_notifications_list.html
+++ b/Allura/allura/templates/site_admin_site_notifications_list.html
@@ -41,7 +41,7 @@
</tr>
</thead>
{% for note in notifications %}
- <tr>
+ <tr {% if note.active %}class="active"{% endif %}>
<td><small>{{ note.active }}</small></td>
<td><small>{{ note.impressions}}</small></td>
<td><small class="tooltip" title="{{ note.content }}">{{
note.content|truncate(50) }}</small></td>
@@ -68,6 +68,10 @@
td {
max-width: 200px;
}
+ #site_notifications tr.active {
+ font-weight: bold;
+ background: lightcyan;
+ }
</style>
{% endblock %}