Skip to content

Commit

Permalink
links in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido committed Mar 5, 2013
1 parent a5013ac commit 853c79f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions templates/walt/index.html
Expand Up @@ -59,6 +59,7 @@ <h3><a href="{% url walt_pin pin.slug %}"><!-- #{{ pin.id }} --> {{ pin.title }}
{{ pin.abstract }}

</blockquote>

<a class="external" href="{{ pin.permalink}}">&rarr; {{ pin.permalink}}</a>

{% for child in pin.children.all|slice:":10" %}
Expand Down
2 changes: 1 addition & 1 deletion templates/walt/pin.html
Expand Up @@ -21,7 +21,7 @@ <h3>{{ bibtex.title }}</h3>
<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 }}

Expand Down
2 changes: 1 addition & 1 deletion templates/walt/walt.html
Expand Up @@ -69,7 +69,7 @@ <h3>{{ bibtex.title }}</h3>

<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>
Expand Down

0 comments on commit 853c79f

Please sign in to comment.