Commit 5bd3a324 authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic
Browse files

Bug 1796588: Adding a 'loading' message for timeline

In case there are a lot of versions and/or versions have slow loading


Change-Id: Idc7f1eeca76f10a22a76c11a5e2e22bfd82f0858
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
(cherry picked from commit c1ffd707)
parent 29736bac
......@@ -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">
{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');
Supports Markdown
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