Skip to content
Browse files

links in templates

  • Loading branch information...
1 parent a5013ac commit 853c79f99b9a55d99805436b1cb20554eb2da7bd @danieleguido committed
Showing with 3 additions and 2 deletions.
  1. +1 −0 templates/walt/index.html
  2. +1 −1 templates/walt/pin.html
  3. +1 −1 templates/walt/walt.html
View
1 templates/walt/index.html
@@ -59,6 +59,7 @@ <h2 style="border-width:0px">{% trans "series" %} ( {{ series.count }} )</h2>
{{ pin.abstract }}
</blockquote>
+
<a class="external" href="{{ pin.permalink}}">&rarr; {{ pin.permalink}}</a>
{% for child in pin.children.all|slice:":10" %}
View
2 templates/walt/pin.html
@@ -21,7 +21,7 @@
<p><a href="{% url admin:glue_pin_change pin.id %}">&rarr; {% trans "edit" %}</a></p>
</div>
<blockquote>
- {% if bibtex.abstract %}<p> {{ bibtex.abstract }} </p>{% endif %}
+ {% if bibtex.abstract %}{{ bibtex.abstract }}{% endif %}
{{ pin.abstract }}
View
2 templates/walt/walt.html
@@ -69,7 +69,7 @@ <h2 style="border-width:0px">Protocols</h2>
<div class="item">
- <h3>#{{ pin.id }} {{ pin.title }} </h3>
+ <h3><a href="{% url walt_pin pin.slug%}"><!-- #{{ pin.id }} --> {{ pin.title }} </a></h3>
<div class="metadata"><span class="date">{% if pin.date %}{{ pin.date }}{% else %}{{ pin.date_last_modified }}{% endif %}</span>
{% for tag in pin.tags.all %}
<a href="{% url walt_tag tag.type|lower tag.slug %}" class="tag" alt="{{ tag.name }} ( {{ tag.type }} )">{{ tag.name }}</a>

0 comments on commit 853c79f

Please sign in to comment.
Something went wrong with that request. Please try again.