Remove blue text on migrate page (#20273)

* Remove blue text on migrate page

* remove Safe

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
pull/20332/head^2
silverwind 2 years ago committed by GitHub
parent 4ce07a00e5
commit e24c238ecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      options/locale/locale_en-US.ini
  2. 2
      templates/repo/migrate/options.tmpl

@ -932,7 +932,7 @@ form.name_pattern_not_allowed = The pattern '%s' is not allowed in a repository
need_auth = Authorization
migrate_options = Migration Options
migrate_service = Migration Service
migrate_options_mirror_helper = This repository will be a <span class="text blue">mirror</span>
migrate_options_mirror_helper = This repository will be a mirror
migrate_options_lfs = Migrate LFS files
migrate_options_lfs_endpoint.label = LFS Endpoint
migrate_options_lfs_endpoint.description = Migration will attempt to use your Git remote to <a target="_blank" rel="noopener noreferrer" href="%s">determine the LFS server</a>. You can also specify a custom endpoint if the repository LFS data is stored somewhere else.

@ -3,7 +3,7 @@
<label>{{.locale.Tr "repo.migrate_options"}}</label>
<div class="ui checkbox">
<input id="mirror" name="mirror" type="checkbox" {{if .mirror}} checked{{end}}>
<label>{{.locale.Tr "repo.migrate_options_mirror_helper" | Safe}}</label>
<label>{{.locale.Tr "repo.migrate_options_mirror_helper"}}</label>
</div>
</div>
{{end}}

Loading…
Cancel
Save