Add a "My jobs" tab to the dashboard
It shows all current jobs of which the user is a maintainer.
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#tabs-starred-jobs" data-toggle="tab">Starred jobs</a></li>
|
||||
<li><a href="#tabs-my-jobs" data-toggle="tab">My jobs</a></li>
|
||||
</ul>
|
||||
|
||||
<div id="generic-tabs" class="tab-content">
|
||||
@ -31,12 +32,16 @@
|
||||
|
||||
[% ELSE %]
|
||||
|
||||
<div class="alert alert-warning">You have no starred jobs. You can add them by visiting a job page and clicking on the ☆ icon.</div>
|
||||
<div class="alert alert-warning">You have no starred jobs. You
|
||||
can add them by visiting a job page and clicking on the ☆
|
||||
icon.</div>
|
||||
|
||||
[% END %]
|
||||
|
||||
</div>
|
||||
|
||||
[% INCLUDE makeLazyTab tabName="tabs-my-jobs" uri=c.uri_for(c.controller('User').action_for('my_jobs_tab'), [user.username]) %]
|
||||
|
||||
</div>
|
||||
|
||||
[% END %]
|
||||
|
Reference in New Issue
Block a user