Commit e6ed0f5f authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review
Browse files

Merge "Bug 1796588: Adding a 'loading' message for timeline"

parents 2f6dc4eb c1ffd707
......@@ -532,3 +532,4 @@ $string['nextversion'] = 'Next version';
$string['versionnumber'] = 'Version %s';
$string['gotonextversion'] = 'Go to the next version ';
$string['gotopreviousversion'] = 'Go to the previous version';
$string['loadingtimelinecontent'] = 'Loading timeline for "%s". If the page has many versions, this may take a while.';
......@@ -10,7 +10,7 @@
<div class="grouppageswrap view-container">
{$timelineform|safe}
{if $views}
<div class="jtline"></div>
<div class="jtline"><span class="icon icon-spinner icon-pulse"></span> {str tag=loadingtimelinecontent section=view arg1=$viewtitle}</div>
<script type="application/javascript">
$(function () {
var jtLine = $('.jtline').jTLine({
......
......@@ -66,5 +66,6 @@ $smarty->assign('fromdate', urlencode($fromdate));
$smarty->assign('todate', urlencode($todate));
$smarty->assign('viewurl', $viewobject->get_url());
$smarty->assign('view', $view);
$smarty->assign('viewtitle', hsc($viewobject->get('title')));
$smarty->assign('headingclass', 'page-header');
$smarty->display('view/versioning.tpl');
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