Commit 8c92837a28da6375ef4ae1784640c713fc2ce34a

Authored by Sergio Oliveira
1 parent 1d915af1
Exists in 1.12.x

Removed unused templates

colab/search/templates/search/search-message-preview.html
@@ -1,17 +0,0 @@ @@ -1,17 +0,0 @@
1 -{% load i18n %}  
2 -  
3 -<span class="glyphicon glyphicon-envelope" title="{{ result.type }}"></span>  
4 -  
5 -{% if result.mailinglist %}  
6 - <a href="{% url 'super_archives.views.list_messages' %}?list={{ result.mailinglist }}">  
7 - <span class="label label-primary">{{ result.mailinglist }}</span>  
8 - </a>  
9 -{% endif %}  
10 -  
11 -<span class="subject">  
12 - <a href="{{ result.url }}#msg-{{ result.pk }}"  
13 - title="{% filter striptags|truncatewords:50 %}{{ result.description|escape }}{% endfilter %}">  
14 - </a>  
15 -</span>  
16 -  
17 -<span class="quiet">- {{ result.description|striptags }}</span>  
colab/search/templates/search/search-revision-preview.html
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -{% load i18n %}  
2 -  
3 -<span class="glyphicon glyphicon-align-right" title="{{ result.type }}"></span>  
4 -  
5 -<span class="subject">  
6 - <a href="{{ result.url }}">{{ result.repository_name }} [{{ result.revision }}]</a>  
7 -</span>  
8 -  
9 -<span class="quiet">{% if result.message %}- {{ result.message }}{% endif %}</span>  
colab/search/templates/search/search-ticket-preview.html
@@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
1 -{% load i18n %}  
2 -{% load highlight %}  
3 -  
4 -<span class="glyphicon glyphicon-tag" title="{{ result.type }}"></span>  
5 -  
6 -<a href="{{ result.url }}" title="{{ result.description|escape }}">  
7 -{% if result.status %}  
8 - <span class="label label-primary">{{ result.status }}</span>  
9 -{% endif %}  
10 -  
11 -<span class="subject">  
12 - #{{ result.pk }} - {% filter striptags|truncatewords:50 %}{{ result.summary|escape }}{% endfilter %}  
13 - </a>  
14 -</span>  
15 -  
16 -<span class="quiet">- {% highlight result.description with query max_length "150" %}</span>  
colab/search/templates/search/search-wiki-preview.html
@@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
1 -{% load i18n %}  
2 -  
3 -<span class="glyphicon glyphicon-book" title="{{ result.type }}"></span>  
4 -  
5 -<span class="subject">  
6 - <a href="{{ result.url }}">{{ result.name }}</a>  
7 -</span>  
8 -  
9 -<span class="quiet">{% if result.wiki_text %}- {{ result.wiki_text|truncatechars:150 }}{% elif result.comment %}- {{ result.comment|truncatechars:150 }}{% endif %}</span>