Commit f86ac830 authored by Liam Sharpe's avatar Liam Sharpe

Styled the participation report page - Bug #1529713

NOTE: Does not include the fix for:
"2. All columns should be sortable, but it doesn't
work properly for me. I could only get the first column
under "Pages shared with this group" to sort and that
sorted also "Pages owned by this group"."

behatnotneeded

Change-Id: If043d94dab3d52fea7c8d1e70910d6e5bd45a41b
parent 64715831
......@@ -311,3 +311,20 @@
.panel-secondary > .panel-heading {
font-size: 18px;
}
.table thead {
a::after {
font-family: 'FontAwesome';
position: relative;
top: -3px;
margin-left: 3px;
color: #888;
}
.asc>a::after {
content: '\f0dd';
}
.sorted>a::after {
content: '\f0de';
top: 2px;
}
}
{if count($items) > 0}
{foreach from=$items item=view}
<tr class="{cycle values='r0,r1'}">
<td class="sv"><h3 class="title"><a href="{$view->url}">{$view->title}</a></h3></td>
<td class="sv"><a href="{$view->url}">{$view->title}</a></td>
<td class="mc"><label class="hidden">{str tag=membercommenters section=group}: </label>
<ul>
{foreach from=$view->comments key=commenter item=info}
......@@ -26,4 +26,4 @@
{/foreach}
{else}
<tr class="{cycle values='r0,r1'}"><td colspan="3" class="message">{str tag=noviewssharedwithgroupyet section=group}</td></tr>
{/if}
\ No newline at end of file
{/if}
{if $itemcount}
{foreach from=$items item=view}
<tr class="{cycle values='r0,r1'}">
<td class="sv"><h3 class="title"><a href="{$view->url}">{$view->title}</a></h3></td>
<td class="sv"><a href="{$view->url}">{$view->title}</a></td>
<td class="sb"><label class="hidden">{str tag=sharedby section=view}: </label>
{if $view->owner}
<a href="{$WWWROOT}user/view.php?id={$view->owner}">{$view->owner|display_name:null:true}</a>
......@@ -35,4 +35,4 @@
{/foreach}
{else}
<tr class="{cycle values='r0,r1'}"><td colspan="4" class="message">{str tag=noviewssharedwithgroupyet section=group}</td></tr>
{/if}
\ No newline at end of file
{/if}
......@@ -5,7 +5,7 @@
{str tag=noviewssharedwithgroupyet section=group}
</p>
{else}
<table id="sharedviewsreport" class="fullwidth groupreport">
<table id="sharedviewsreport" class="fullwidth groupreport table table-striped">
<thead>
<tr>
<th class="sv {if $sort == title && $direction == asc}asc{elseif $sort == title}sorted{/if}">
......@@ -40,7 +40,7 @@
{str tag=grouphasntcreatedanyviewsyet section=group}
</p>
{else}
<table id="groupviewsreport" class="fullwidth groupreport">
<table id="groupviewsreport" class="fullwidth groupreport table table-striped">
<thead>
<tr>
<th class="sv {if $sort == title && $direction == asc}asc{elseif $sort == title}sorted{/if}">
......
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