diff options
Diffstat (limited to 'templates/org/team')
-rw-r--r-- | templates/org/team/invite.tmpl | 2 | ||||
-rw-r--r-- | templates/org/team/new.tmpl | 4 | ||||
-rw-r--r-- | templates/org/team/sidebar.tmpl | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/templates/org/team/invite.tmpl b/templates/org/team/invite.tmpl index e003d14757..1167828d14 100644 --- a/templates/org/team/invite.tmpl +++ b/templates/org/team/invite.tmpl @@ -7,7 +7,7 @@ {{ctx.AvatarUtils.Avatar .Organization 140}} </div> <div class="content"> - <div class="header">{{ctx.Locale.Tr "org.teams.invite.title" .Team.Name .Organization.Name | Str2html}}</div> + <div class="header">{{ctx.Locale.Tr "org.teams.invite.title" .Team.Name .Organization.Name}}</div> <div class="meta">{{ctx.Locale.Tr "org.teams.invite.by" .Inviter.Name}}</div> <div class="description">{{ctx.Locale.Tr "org.teams.invite.description"}}</div> </div> diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index 0178a20fbb..50ef53b91b 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -32,14 +32,14 @@ <div class="ui radio checkbox"> <input type="radio" name="repo_access" value="specific" {{if not .Team.IncludesAllRepositories}}checked{{end}}> <label>{{ctx.Locale.Tr "org.teams.specific_repositories"}}</label> - <span class="help">{{ctx.Locale.Tr "org.teams.specific_repositories_helper" | Str2html}}</span> + <span class="help">{{ctx.Locale.Tr "org.teams.specific_repositories_helper"}}</span> </div> </div> <div class="field"> <div class="ui radio checkbox"> <input type="radio" name="repo_access" value="all" {{if .Team.IncludesAllRepositories}}checked{{end}}> <label>{{ctx.Locale.Tr "org.teams.all_repositories"}}</label> - <span class="help">{{ctx.Locale.Tr "org.teams.all_repositories_helper" | Str2html}}</span> + <span class="help">{{ctx.Locale.Tr "org.teams.all_repositories_helper"}}</span> </div> </div> diff --git a/templates/org/team/sidebar.tmpl b/templates/org/team/sidebar.tmpl index 37550ab71f..440fa11dc9 100644 --- a/templates/org/team/sidebar.tmpl +++ b/templates/org/team/sidebar.tmpl @@ -27,16 +27,16 @@ </div> {{if eq .Team.LowerName "owners"}} <div class="item"> - {{ctx.Locale.Tr "org.teams.owners_permission_desc" | Str2html}} + {{ctx.Locale.Tr "org.teams.owners_permission_desc"}} </div> {{else}} <div class="item"> <h3>{{ctx.Locale.Tr "org.team_access_desc"}}</h3> <ul> {{if .Team.IncludesAllRepositories}} - <li>{{ctx.Locale.Tr "org.teams.all_repositories" | Str2html}}</li> + <li>{{ctx.Locale.Tr "org.teams.all_repositories"}}</li> {{else}} - <li>{{ctx.Locale.Tr "org.teams.specific_repositories" | Str2html}}</li> + <li>{{ctx.Locale.Tr "org.teams.specific_repositories"}}</li> {{end}} {{if .Team.CanCreateOrgRepo}} <li>{{ctx.Locale.Tr "org.teams.can_create_org_repo"}}</li> @@ -44,10 +44,10 @@ </ul> {{if (eq .Team.AccessMode 2)}} <h3>{{ctx.Locale.Tr "org.settings.permission"}}</h3> - {{ctx.Locale.Tr "org.teams.write_permission_desc" | Str2html}} + {{ctx.Locale.Tr "org.teams.write_permission_desc"}} {{else if (eq .Team.AccessMode 3)}} <h3>{{ctx.Locale.Tr "org.settings.permission"}}</h3> - {{ctx.Locale.Tr "org.teams.admin_permission_desc" | Str2html}} + {{ctx.Locale.Tr "org.teams.admin_permission_desc"}} {{else}} <table class="ui table"> <thead> |