Handle titles and links
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>URL</th>
|
||||
<th></th>
|
||||
<th>Last Checked</th>
|
||||
<th>Last Changed</th>
|
||||
<th></th>
|
||||
@@ -32,7 +32,8 @@
|
||||
{% for watch in watches %}
|
||||
<tr id="{{ watch.uuid }}" class="{{ loop.cycle('pure-table-odd', 'pure-table-even') }} {% if watch.last_error is defined and watch.last_error != False %}error{% endif %}">
|
||||
<td>{{ loop.index }}</td>
|
||||
<td>{{ watch.url }}</td>
|
||||
<td>{% if watch.title is not none %}{{ watch.title }}{% else %}{{ watch.url }}{% endif %}<a class="external" target=_blank href="{{ watch.url }}"></a>
|
||||
</td>
|
||||
<td>{{watch|format_last_checked_time}}
|
||||
{% if watch.last_error is defined and watch.last_error != False %} !! {% endif %}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user