Skip to content

Commit

Permalink
Add a exibição das tags #21
Browse files Browse the repository at this point in the history
  • Loading branch information
tacianosilva committed Nov 13, 2020
1 parent 0f68919 commit 2b64522
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions tasktracking/tasks/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,5 @@ footer#rodape p {
text-align: right;
display:inline-block;
font-size: 12px;
margin: auto 20px;
}
10 changes: 8 additions & 2 deletions tasktracking/tasks/templates/tasks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@
<i class="fas fa-search"></i>
</div>
<ul class="task-list">

{% for tarefa in lista_tarefas %}
<li class="task-item">
<span>play stop</span>
<a href="{% url 'detalhar_tarefa' tarefa.pk %}"
<span>{{ tarefa }}</span>
</a>
<span>Lista de Tags (tarefa.tag_set.all)</span>
<span>00:00:00</span>
<div class="tag_text">
{% for tag in tarefa.tag_set.all %}
{{ tag }}<span>&nbsp;</span>
{% endfor %}
</div>
<input />
<span><i class="fas fa-trash"></i></span>
<span><i class="fas fa-edit"></i></span>
</li>
Expand Down

0 comments on commit 2b64522

Please sign in to comment.