]> iEval git - gruntmaster-page.git/commitdiff
Add a job log link to the user tracker
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 7 Feb 2015 13:58:39 +0000 (15:58 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 7 Feb 2015 13:58:39 +0000 (15:58 +0200)
js/90-tracker.js
tmpl/skel.en

index aac598e6bf571d547b8925aaee3474d08ac0e9da..3ef0ac171d7ef652f963d702ee292e5af8741e81 100644 (file)
@@ -39,6 +39,7 @@
                $('#tracker_solved').html(solvednr);
                $('#tracker_attempted').html(attemptednr);
                $('#tracker_contests').html(data.contests.length);
+               $('#tracker_log').attr('href', '/log/?owner=' + user);
 
                if(location.pathname == '/pb/')
                        $('table').find('.name').find('a').each(function() {
index fce6bd89d338606c8a91e52b86f4a6fa7c757c9f..d7263453570f89927307c7ebd7a760f67345ab93 100644 (file)
@@ -49,7 +49,8 @@
 
 <div id="tracker_tracking" class="hidden">
 Tracking <a href="#" id="tracker_userlink"></a>.<br>
-<a href="#" id="tracker_stop">Stop tracking</a>
+<a href="#" id="tracker_stop">Stop tracking</a><br>
+<a href="#" id="tracker_log">Job log</a>
 <dl class="dl-horizontal">
 <dt>Solved</dt>    <dd id="tracker_solved">?</dd>
 <dt>Attempted</dt> <dd id="tracker_attempted">?</dd>
This page took 0.021219 seconds and 4 git commands to generate.