Skip to content

Commit

Permalink
NEW: Link User Name to User Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Aug 27, 2023
1 parent d4d418b commit 92d7a6e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Assets/css/kanboard-support.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ h2 .fa-code {
border-bottom: 1px solid var(--tech-bg-grey-border-match);
}


a.user-profile-link {
font-weight: 600;
text-decoration: none;
transition: var(--transition-kanboard-support);
}

.cell-title, .app-info-title, .db-info-title, .mail-info-title, .server-config-title {
text-transform: uppercase;
font-size: .9em;
Expand Down
4 changes: 3 additions & 1 deletion Template/config/support.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<tbody>
<tr class="support-table-row">
<td class="cell-title"><?= t('Your Profile Full Name') ?></td>
<td class="cell-value value-name" width=""><?= $this->user->getFullname() ?></td>
<td class="cell-value value-name">
<?= $this->url->link($this->user->getFullname(), 'UserViewController', 'show', array('user_id' => $this->user->getId()), false, 'user-profile-link', t('View Profile')) ?>
</td>
<td class="cell-title"><?= t('Your User ID') ?></td>
<td class="cell-value value"><?= $this->user->getId() ?></td>
</tr>
Expand Down

0 comments on commit 92d7a6e

Please sign in to comment.