Commit 872f4db1 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Style fixes for evonne

parent 33df353a
...@@ -68,13 +68,13 @@ var activitylist = new TableRenderer( ...@@ -68,13 +68,13 @@ var activitylist = new TableRenderer(
'date', 'date',
function (r, d) { function (r, d) {
if (r.read == 1) { if (r.read == 1) {
return TD(null,IMG({'src' : d.star, 'alt' : d.unread})); return TD({'style': 'text-align: center;'},IMG({'src' : d.star, 'alt' : d.unread}));
} }
return TD(null); return TD(null);
}, },
function (r) { function (r) {
if (r.read == 0) { if (r.read == 0) {
return TD(null, INPUT({'type' : 'checkbox', 'class' : 'tocheck', 'name' : 'unread-' + r.id})); return TD({'style': 'text-align: center;'}, INPUT({'type' : 'checkbox', 'class' : 'tocheck', 'name' : 'unread-' + r.id}));
} }
return TD(null); return TD(null);
} }
......
...@@ -41,6 +41,7 @@ $string['type'] = 'Activity type'; ...@@ -41,6 +41,7 @@ $string['type'] = 'Activity type';
$string['attime'] = 'at'; $string['attime'] = 'at';
$string['prefsdescr'] = 'For options other than Activity log, notifications will still go into the Activity log, but will be automatically marked as read'; $string['prefsdescr'] = 'For options other than Activity log, notifications will still go into the Activity log, but will be automatically marked as read';
$string['subject'] = 'Subject';
$string['date'] = 'Date'; $string['date'] = 'Date';
$string['read'] = 'Read'; $string['read'] = 'Read';
$string['unread'] = 'Unread'; $string['unread'] = 'Unread';
......
...@@ -23,11 +23,11 @@ ...@@ -23,11 +23,11 @@
<table id="activitylist"> <table id="activitylist">
<thead> <thead>
<tr> <tr>
<th>{str section='activity' tag='subject'}</th>
<th>{str section='activity' tag='type'}</th> <th>{str section='activity' tag='type'}</th>
<th>{str section='activity' tag='date'}</th> <th>{str section='activity' tag='date'}</th>
<th>{str section='activity' tag='read'}</th> <th>{str section='activity' tag='read'}</th>
<th>[<a href="" onClick="{$selectall}">{str section='activity' tag='selectall'}</a>]</th> <th>[<a href="" onClick="{$selectall}">{str section='activity' tag='selectall'}</a>]</th>
<th></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment