<div class="nav-wrapper cyan darken-1">
<ul>
<li>
- <a class="waves-effect" href="/">
+ <a class="waves-effect" href="{{ path('homepage') }}">
<i class="mdi-action-exit-to-app"></i>
</a>
</li>
</nav>
<ul id="slide-out" class="collapsible side-nav fixed reader-mode" data-collapsible="accordion">
<li class="bold border-bottom hide-on-med-and-down">
- <a class="waves-effect collapsible-header" href="/">
+ <a class="waves-effect collapsible-header" href="{{ path('homepage') }}">
<i class="mdi-action-exit-to-app small"></i>
<span>{% trans %}back{% endtrans %}</span>
</a>
<li class="bold hide-on-med-and-down">
<a class="waves-effect collapsible-header" title="{% trans %}Mark as read{% endtrans %}" href="{{ path('archive_entry', { 'id': entry.id }) }}" id="markAsRead">
<i class="{% if entry.isArchived == 0 %}mdi-action-done{% else %}mdi-content-redo{% endif %} small"></i>
- <span>{% trans %}Toggle mark as read{% endtrans %}</span>
+ <span>{% trans %}Mark as read{% endtrans %}</span>
</a>
<div class="collapsible-body"></div>
</li>
<li class="bold hide-on-med-and-down">
<a class="waves-effect collapsible-header" title="{% trans %}Favorite{% endtrans %}" href="{{ path('star_entry', { 'id': entry.id }) }}" id="setFav">
<i class="{% if entry.isStarred == 0 %}mdi-action-favorite-outline{% else %}mdi-action-favorite{% endif %} small"></i>
- <span>{% trans %}Toggle favorite{% endtrans %}</span>
+ <span>{% trans %}Favorite{% endtrans %}</span>
</a>
<div class="collapsible-body"></div>
</li>
<div class="collapsible-body"></div>
</li>
+ <li class="bold border-bottom hide-on-med-and-down">
+ <a class="waves-effect collapsible-header" id="nav-btn-add-tag">
+ <i class="mdi-action-label-outline small"></i>
+ <span>{% trans %}Add a tag{% endtrans %}</span>
+ </a>
+ <div class="collapsible-body"></div>
+ </li>
+
<li class="bold">
<a class="waves-effect collapsible-header">
<i class="mdi-social-share small"></i>
<div id="article">
<header class="mbm">
<h1>{{ entry.title|raw }} <a href="{{ path('edit', { 'id': entry.id }) }}" title="{% trans %}Edit title{% endtrans %}">✎</a></h1>
- <a href="{{ entry.url|e }}" target="_blank" title="{% trans %}original{% endtrans %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.domainName }}</span></a>
</header>
- <aside class="tags">
- tags: {% for tag in entry.tags %}<a href="./?view=tag&id={{ tag.id }}">{{ tag.label }}</a> {% endfor %}<a href="./?view=edit-tags&id={{ entry.id }}" title="{% trans %}Edit tags{% endtrans %}">✎</a>
+ <aside>
+ <a href="{{ entry.url|e }}" target="_blank" title="{% trans %}original{% endtrans %} : {{ entry.title|e }}" class="tool link mdi-content-link"> <span>{{ entry.domainName }}</span></a>
+ <div id="list">
+ {% for tag in entry.tags %}<span><a href="#">{{ tag.label }}</a></span>{% endfor %}
+ </div>
+
+ {% if entry.previewPicture is not null %}
+ <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|raw }}" /></div>
+ {% endif %}
+
+ <div class="input-field nav-panel-add-tag" style="display: none">
+ {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }}
+ </div>
+
</aside>
<article>
{{ entry.content | raw }}