-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rob Moorman
committed
Feb 26, 2016
1 parent
be42734
commit 2ba2bb7
Showing
2 changed files
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
{% load i18n %} | ||
|
||
<h1>{{ radar.name }}</h1> | ||
<h2>{{ blip.name }}</h2> | ||
<h2>{{ blip.name }} ({{ blip.status }}){% if blip.is_new %} <span class="badge">{% trans "new" %}</span>{% endif %}</h2> | ||
<p>{{ blip.body }}</p> | ||
{% if not blip.is_new %} | ||
<h3>{% trans "History" %}</h3> | ||
<ul> | ||
{% for blip in blip.history.all.reverse %} | ||
<li> | ||
<h4>{{ blip.status }}</h4> | ||
<h5>{{ blip.modified }}</h5> | ||
<p>{{ blip.body }}</p> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
<p> | ||
<a href="{% url 'radar-detail' blip.radar.slug %}">{% trans "Back to radar" %}</a> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters