Commit 033ac222 authored by Michal Čihař's avatar Michal Čihař

Display project info on search page

parent f5aca0f2
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<table> <table>
<tbody> <tbody>
{% for unit in units.object_list %} {% for unit in units.object_list %}
<tr><th colspan="2"><a href="{{ unit.translation.get_absolute_url }}">{{ unit.translation }}</a></th></tr>
<tr> <tr>
<th class="source">{% trans "Source" %}</th> <th class="source">{% trans "Source" %}</th>
<td class="translatetext"><a href="{{ unit.get_absolute_url }}">{{ unit.source|fmtsearchmatch:search_query }}</a></td> <td class="translatetext"><a href="{{ unit.get_absolute_url }}">{{ unit.source|fmtsearchmatch:search_query }}</a></td>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment