diff options
author | Filipp Lepalaan <f@230.to> | 2014-02-24 19:31:23 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2014-02-24 19:31:23 +0200 |
commit | 615f73881baf3ae7837ee23467998875a944177f (patch) | |
tree | 655a01e7c2131a8ee6be71af790ea2f895374668 /apps/it/templates/default.html | |
parent | 993f654f7e3334b235391a8d1f779c3e715a610d (diff) | |
download | pudding-615f73881baf3ae7837ee23467998875a944177f.tar.gz pudding-615f73881baf3ae7837ee23467998875a944177f.tar.bz2 pudding-615f73881baf3ae7837ee23467998875a944177f.zip |
Better
Diffstat (limited to 'apps/it/templates/default.html')
-rwxr-xr-x | apps/it/templates/default.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/it/templates/default.html b/apps/it/templates/default.html index c163995..d1738a4 100755 --- a/apps/it/templates/default.html +++ b/apps/it/templates/default.html @@ -146,12 +146,13 @@ <i class="fa fa-tasks fa-fw"></i> <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-tasks">
+ {% for i in request.user.issues.all %}
<li>
- <a href="#">
+ <a href="{{ i.get_absolute_url }}">
<div>
<p>
- <strong>Task 1</strong>
- <span class="pull-right text-muted">40% Complete</span>
+ <strong>{{ i.title }}</strong>
+ <span class="pull-right text-muted">{{ i.progress }}% Complete</span>
</p>
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
@@ -162,6 +163,7 @@ </a>
</li>
<li class="divider"></li>
+ {% endfor %}
<li>
<a href="#">
<div>
@@ -241,7 +243,7 @@ <ul class="nav" id="side-menu">
<li class="sidebar-search">
<div class="input-group custom-search-form">
- <input type="text" class="form-control searchfield" placeholder="Search...">
+ <input type="text" class="form-control searchfield" placeholder="Search..."/>
<span class="input-group-btn">
<button class="btn btn-default" type="button">
<i class="fa fa-search"></i>
|