File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1757,6 +1757,7 @@ settings.mirror_settings.last_update = Last update
1757
1757
settings.mirror_settings.push_mirror.none = No push mirrors configured
1758
1758
settings.mirror_settings.push_mirror.remote_url = Git Remote Repository URL
1759
1759
settings.mirror_settings.push_mirror.add = Add Push Mirror
1760
+ settings.mirror_settings.push_mirror.copy_public_key = Copy Public Key
1760
1761
settings.sync_mirror = Synchronize Now
1761
1762
settings.mirror_sync_in_progress = Mirror synchronization is in progress. Check back in a minute.
1762
1763
settings.email_notifications.enable = Enable Email Notifications
Original file line number Diff line number Diff line change 173
173
<td>{{$address.Address}}</td>
174
174
<td>{{$.i18n.Tr "repo.settings.mirror_settings.direction.push"}}</td>
175
175
<td>{{if .LastUpdateUnix}}{{.LastUpdateUnix.AsTime}}{{else}}{{$.i18n.Tr "never"}}{{end}} {{if .LastError}}<div class="ui red label tooltip" data-content="{{.LastError}}">{{$.i18n.Tr "error"}}</div>{{end}}</td>
176
- <td><span readonly style="white-space: nowrap; overflow-x: scroll">{{- .PublicKey - }}</span ></td>
176
+ <td><a data-clipboard-text="{{ .PublicKey}}" readonly>{{$.i18n.Tr "repo.settings.mirror_settings.push_mirror.copy_public_key" }}</a ></td>
177
177
<td class="right aligned">
178
178
<form method="post" style="display: inline-block">
179
179
{{$.CsrfTokenHtml}}
You can’t perform that action at this time.
0 commit comments