fixed links from topic entries to point to the right page
This commit is contained in:
@@ -78,23 +78,23 @@
|
||||
{{ range i, t := topics }}
|
||||
<tr class="hover:bg-gray-50">
|
||||
<td class="px-4 py-3 whitespace-nowrap text-sm">
|
||||
<a href="{{ urlStem }}/topic/{{ t.Number }}?new=1"
|
||||
<a href="{{ urlStem }}/r/{{ t.Number }}"
|
||||
class="text-blue-700 hover:text-blue-900 font-medium">{{ t.Number }}</a>
|
||||
</td>
|
||||
<td class="px-4 py-3 text-sm">
|
||||
<a href="{{ urlStem }}/topic/{{ t.Number }}?new=1"
|
||||
<a href="{{ urlStem }}/r/{{ t.Number }}"
|
||||
class="text-blue-700 hover:text-blue-900 font-medium">{{ t.Name }}</a>
|
||||
</td>
|
||||
<td class="px-4 py-3 whitespace-nowrap text-sm text-right">
|
||||
<a href="{{ urlStem }}/topic/{{ t.Number }}?new=1"
|
||||
<a href="{{ urlStem }}/r/{{ t.Number }}"
|
||||
class="text-blue-700 hover:text-blue-900">{{ t.Unread }}</a>
|
||||
</td>
|
||||
<td class="px-4 py-3 whitespace-nowrap text-sm text-right">
|
||||
<a href="{{ urlStem }}/topic/{{ t.Number }}?st=0&en=-1"
|
||||
<a href="{{ urlStem }}/r/{{ t.Number }}?r=0,-1"
|
||||
class="text-blue-700 hover:text-blue-900">{{ t.Total }}</a>
|
||||
</td>
|
||||
<td class="px-4 py-3 whitespace-nowrap text-sm">
|
||||
<a href="{{ urlStem }}/topic/{{ t.Number }}?new=1"
|
||||
<a href="{{ urlStem }}/r/{{ t.Number }}"
|
||||
class="text-blue-700 hover:text-blue-900">{{ formattedDate[i] }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user