diff options
| author | Vadim Iskuchekov <egregors@pm.me> | 2025-06-21 10:55:35 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-21 10:55:35 +0300 |
| commit | 5c10035bd964b41ce466ef16ca5ef8bb9a4507f6 (patch) | |
| tree | c2d44ab3ce65ab72e884c47b587c2efb1472de83 /web/html/form/protocol/trojan.html | |
| parent | 2e6faf69e62274a35611eb20b0e0a05251c4a8cd (diff) | |
feat: add comments under client id (#3131)
Diffstat (limited to 'web/html/form/protocol/trojan.html')
| -rw-r--r-- | web/html/form/protocol/trojan.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/web/html/form/protocol/trojan.html b/web/html/form/protocol/trojan.html index fc327721..6c7b3773 100644 --- a/web/html/form/protocol/trojan.html +++ b/web/html/form/protocol/trojan.html @@ -12,7 +12,12 @@ <th>Password</th> </tr> <tr v-for="(client, index) in inbound.settings.trojans" :class="index % 2 == 1 ? 'client-table-odd-row' : ''"> - <td>[[ client.email ]]</td> + <td> + <div class="client-cell"> + <div class="client-email">[[ client.email ]]</div> + <div v-if="client.comment && client.comment.trim()" class="client-comment">[[ client.comment ]]</div> + </div> + </td> <td>[[ client.password ]]</td> </tr> </table> |
