diff options
-rw-r--r-- | newspipe/templates/home.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/newspipe/templates/home.html b/newspipe/templates/home.html index 34149b5c..8264807c 100644 --- a/newspipe/templates/home.html +++ b/newspipe/templates/home.html @@ -101,7 +101,9 @@ <a href="{{ url_for('article.mark_as', new_value='read', feed_id=feed_id) }}"><i class="fa fa-check-square-o" aria-hidden="true" title="{{ _('Mark this feed as read') }}"></i></a> {% endif%} </th> - <th>{{ _('Feed') }}</th> + {% if not feed_id %} + <th>{{ _('Feed') }}</th> + {% endif %} <th>{{ _('Article') }}</th> <th>{{ _('Date') }}</th> </tr> @@ -123,11 +125,13 @@ {% if filter_ == 'all' %}</b>{% endif %} {% endif %} </td> - <td><a href="/article/redirect/{{ article.id}}" target="_blank">{{ article.source.title | safe }}</a></td> + {% if not feed_id %} + <td><a href="/article/redirect/{{ article.id}}" target="_blank">{{ article.source.title | safe }}</a></td> + {% endif %} <td {%if filter_ == 'all' and article.readed == False %}style='font-weight:bold'{% endif %}> <a href="/article/{{ article.id }}">{{ article.title | safe }}</a> </td> - <td class="date">{{ article.date | datetime }}</a></td> + <td class="date">{{ article.date | datetime(format='short') }}</a></td> </tr> {% endfor %} </tbody> |