| | $repoParam = '&repo=' . urlencode($this->repoSafeName); |
| | $filesUrl = '?hash=' . $targetSha . $repoParam; |
| | - $commitUrl = '?action=commits&hash=' . $targetSha . $repoParam; |
| | + $commitUrl = '?action=commit&hash=' . $targetSha . $repoParam; |
| | |
| | echo '<tr>'; |
| | |
| | - // 1. Name |
| | echo '<td class="tag-name">'; |
| | echo '<a href="' . $filesUrl . '"><i class="fas fa-tag"></i> ' . htmlspecialchars($name) . '</a>'; |
| | echo '</td>'; |
| | |
| | - // 2. Message |
| | echo '<td class="tag-message">'; |
| | echo ($message !== '') ? htmlspecialchars(strtok($message, "\n")) : '<span style="color: #484f58; font-style: italic;">No description</span>'; |
| | echo '</td>'; |
| | |
| | - // 3. Author |
| | echo '<td class="tag-author">' . htmlspecialchars($author) . '</td>'; |
| | |
| | - // 4. Timestamp |
| | echo '<td class="tag-time">'; |
| | $this->renderTime($timestamp); |
| | echo '</td>'; |
| | |
| | - // 5. Hash |
| | echo '<td class="tag-hash">'; |
| | echo '<a href="' . $commitUrl . '" class="commit-hash">' . substr($sha, 0, 7) . '</a>'; |