Chromium Code Reviews| Index: templates/main.html |
| diff --git a/templates/main.html b/templates/main.html |
| index 276d3db38862319c533498634d7a884df0378e84..2d418c519e3740d19c70e231bdf79e1f6a98bc78 100644 |
| --- a/templates/main.html |
| +++ b/templates/main.html |
| @@ -31,9 +31,25 @@ |
| </tr> |
| {% for a_status in status %} |
| <tr class="{{ a_status.general_state }}"> |
| - <td class="username">{{ a_status.username }}</td> |
| + <td class="username"> |
| + {% for a_link in a_status.username_links.links %} |
| + {% if a_link.target %} |
| + <a href="{% if a_link.is_email %}mailto:{% endif %}{{ a_link.target }}">{{ a_link.text }}</a> |
| + {% else %} |
| + {{ a_link.text }} |
| + {% endif %} |
| + {% endfor %} |
| + </td> |
| <td class="date">{{ a_status.date|date:"D, d M H:i" }}</td> |
| - <td class="message">{{ a_status.message }}</td> |
| + <td class="message"> |
| + {% for a_link in a_status.message_links.links %} |
| + {% if a_link.target %} |
| + <a href="{% if a_link.email %}mailto:{% endif %}{{ a_link.target }}">{{ a_link.text }}</a> |
|
cmp
2013/11/25 05:04:55
a_link.email -> a_link.is_email
vapier
2013/11/25 15:24:33
fixed ... figures the last minute change i made wo
|
| + {% else %} |
| + {{ a_link.text }} |
| + {% endif %} |
| + {% endfor %} |
| + </td> |
| </tr> |
| {% endfor %} |