Skip to content

Commit

Permalink
Merge pull request #797 from yelto/set_list_by_user-highlight-user-he…
Browse files Browse the repository at this point in the history
…adings-to-help-read-the-listing

Set list by user: highlight user headings to help read the listing
  • Loading branch information
collectiveaccess authored Jan 20, 2021
2 parents b18cd6e + 361f9aa commit 29bc953
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion themes/default/css/sets.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,10 @@ a.setItemEditButton img{
display: block;
color: #333;
font-family:Arial;
}
}

tbody#setListBody td.setListByUserUserHeader {
background-color: #EEE;
padding: 1.3em;
border-top: solid 2px #999;
}
2 changes: 1 addition & 1 deletion themes/default/views/manage/set_list_by_user_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function _navigateToNewForm(type_id, table_num) {
$vn_num_sets_for_user = (int)sizeof($va_user['sets']);
?>
<tr>
<td colspan="8"><strong><?php print $va_user['user']['fname']." ".$va_user['user']['lname']." (".$va_user['user']['email'].")</strong> [".(($vn_num_sets_for_user == 1) ? _t("%1 set", $vn_num_sets_for_user) : _t("%1 sets", $vn_num_sets_for_user))."]"; ?></td>
<td colspan="8" class="setListByUserUserHeader"><strong><?php print $va_user['user']['fname']." ".$va_user['user']['lname']." (".$va_user['user']['email'].")</strong> [".(($vn_num_sets_for_user == 1) ? _t("%1 set", $vn_num_sets_for_user) : _t("%1 sets", $vn_num_sets_for_user))."]"; ?></td>
</tr>
<?php
foreach($va_user['sets'] as $va_set) {
Expand Down

0 comments on commit 29bc953

Please sign in to comment.