Commit 0cad1e21 authored by Robert Lyon's avatar Robert Lyon
Browse files

Making csv download links more accessible (Bug #1266913)



Sorted on:
--  Administration -> Users -> User search -> Get reports
--  Administration -> Institutions -> Statistics

Change-Id: I81e7def9a003e95c2a40651c08d7cdfede0eda89
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent d694da1a
...@@ -271,6 +271,7 @@ $string['userstatstabletitle'] = 'Daily user statistics'; ...@@ -271,6 +271,7 @@ $string['userstatstabletitle'] = 'Daily user statistics';
$string['groupstatstabletitle'] = 'Biggest groups'; $string['groupstatstabletitle'] = 'Biggest groups';
$string['viewstatstabletitle'] = 'Most popular pages'; $string['viewstatstabletitle'] = 'Most popular pages';
$string['exportstatsascsv'] = 'Export statistics in CSV format'; $string['exportstatsascsv'] = 'Export statistics in CSV format';
$string['downloadstatsascsv'] = 'statistics in CSV format';
$string['nostats'] = 'No statistics available'; $string['nostats'] = 'No statistics available';
$string['site'] = 'Site'; $string['site'] = 'Site';
...@@ -1022,6 +1023,7 @@ $string['uneditableusers'] = array( ...@@ -1022,6 +1023,7 @@ $string['uneditableusers'] = array(
1 => 'You selected %s users that are not editable by you. They have been removed from the list.', 1 => 'You selected %s users that are not editable by you. They have been removed from the list.',
); );
$string['exportusersascsv'] = 'Export users in CSV format'; $string['exportusersascsv'] = 'Export users in CSV format';
$string['downloadusersascsv'] = 'users in CSV format';
$string['Download'] = 'Download'; $string['Download'] = 'Download';
$string['suspendusers'] = 'Suspend users'; $string['suspendusers'] = 'Suspend users';
$string['Suspend'] = 'Suspend'; $string['Suspend'] = 'Suspend';
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
{if $csv} {if $csv}
<div class="fr"> <div class="fr">
<span class="bulkaction-title">{str tag=exportusersascsv section=admin}:</span> <span class="bulkaction-title">{str tag=exportusersascsv section=admin}:</span>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin}</a> <a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloadusersascsv section=admin}</span></a>
</div> </div>
{/if} {/if}
<h2>{str tag=selectedusers section=admin} ({count($users)})</h2> <h2>{str tag=selectedusers section=admin} ({count($users)})</h2>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
{if $subpagedata.table.csv} {if $subpagedata.table.csv}
<div class="fr"> <div class="fr">
<span class="bulkaction-title">{str tag=exportstatsascsv section=admin}:</span> <span class="bulkaction-title">{str tag=exportstatsascsv section=admin}:</span>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin}</a> <a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloadstatsascsv section=admin}</span></a>
</div> </div>
{/if} {/if}
<div id="statistics_table_container" class="statistics-subpage-{if $subpagedata.summary}right{else}full{/if}-column {if $subpagedata.table.count == 0} hidden{/if}"> <div id="statistics_table_container" class="statistics-subpage-{if $subpagedata.summary}right{else}full{/if}-column {if $subpagedata.table.count == 0} hidden{/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