add phrases for group promotion registered times
rename panel_group_promotions_level_prefix phrase to panel_group_promotions_row_level_prefix rename panel_group_promotions_posts_prefix phrase to panel_group_promotions_row_posts_prefix rename panel_group_promotions_delete_button phrase to panel_group_promotions_row_delete_button add panel_group_promotions_row_registered_minutes phrase add panel_group_promotion_registered_months_suffix phrase add panel_group_promotion_registered_days_suffix phrase add panel_group_promotion_registered_hours_suffix phrase
This commit is contained in:
parent
b6931fe16a
commit
f1d3e29409
@ -923,9 +923,11 @@
|
||||
"panel_group_extended_permissions":"Extended Permissions",
|
||||
"panel_group_mod_permissions":"Moderator Permissions",
|
||||
|
||||
"panel_group_promotions_level_prefix":"level ",
|
||||
"panel_group_promotions_posts_prefix":"posts ",
|
||||
"panel_group_promotions_delete_button":"Delete",
|
||||
"panel_group_promotions_row_level_prefix":"level ",
|
||||
"panel_group_promotions_row_posts_prefix":"posts ",
|
||||
"panel_group_promotions_row_registered_minutes":"registered for %d minutes",
|
||||
"panel_group_promotions_row_delete_button":"Delete",
|
||||
|
||||
"panel_group_promotions_create_head":"Add Promotion",
|
||||
"panel_group_promotions_from":"From",
|
||||
"panel_group_promotions_to":"To",
|
||||
@ -933,6 +935,9 @@
|
||||
"panel_group_promotions_level":"Level",
|
||||
"panel_group_promotions_posts":"Posts",
|
||||
"panel_group_promotion_registered_for":"Registered For",
|
||||
"panel_group_promotion_registered_months_suffix":" months",
|
||||
"panel_group_promotion_registered_days_suffix":" days",
|
||||
"panel_group_promotion_registered_hours_suffix":" hours",
|
||||
"panel_group_promotions_create_button":"Add Promotion",
|
||||
|
||||
"panel_word_filters_head":"Word Filters",
|
||||
|
@ -11,11 +11,11 @@
|
||||
{{range .Promotions}}
|
||||
<div class="rowitem">
|
||||
<a href="#p-{{.ID}}">{{.FromGroup.Name}} -> {{.ToGroup.Name}}{{if .TwoWay}} (two way){{end}}</a>
|
||||
{{if .Level}}<span> - {{lang "panel_group_promotions_level_prefix"}}{{.Level}}</span>{{end}}
|
||||
{{if .Posts}}<span> - {{lang "panel_group_promotions_posts_prefix"}}{{.Posts}}</span>{{end}}
|
||||
{{if .RegisteredFor}}<span> - registered for {{.RegisteredFor}} minutes</span>{{end}}
|
||||
{{if .Level}}<span> - {{lang "panel_group_promotions_row_level_prefix"}}{{.Level}}</span>{{end}}
|
||||
{{if .Posts}}<span> - {{lang "panel_group_promotions_row_posts_prefix"}}{{.Posts}}</span>{{end}}
|
||||
{{if .RegisteredFor}}<span> - {{langf "panel_group_promotions_row_registered_minutes" .RegisteredFor}}</span>{{end}}
|
||||
<div class="to_right">
|
||||
<a href="/panel/groups/promotions/delete/submit/{{$.ID}}-{{.ID}}?s={{$.CurrentUser.Session}}"><button form="nn">{{lang "panel_group_promotions_delete_button"}}</button></a>
|
||||
<a href="/panel/groups/promotions/delete/submit/{{$.ID}}-{{.ID}}?s={{$.CurrentUser.Session}}"><button form="nn">{{lang "panel_group_promotions_row_delete_button"}}</button></a>
|
||||
</div>
|
||||
</div>{{end}}
|
||||
<div class="rowitem">
|
||||
@ -66,9 +66,9 @@
|
||||
<div class="formrow">
|
||||
<div class="formitem formlabel"><a>{{lang "panel_group_promotion_registered_for"}}</a></div>
|
||||
<div class="formitem">
|
||||
<input name="registered_months" type="number" value="0"/> months<br>
|
||||
<input name="registered_days" type="number" value="0"/> days<br>
|
||||
<input name="registered_hours" type="number" value="0"/> hours
|
||||
<input name="registered_months" type="number" value="0"/>{{lang "panel_group_promotion_registered_months_suffix"}}<br>
|
||||
<input name="registered_days" type="number" value="0"/>{{lang "panel_group_promotion_registered_days_suffix"}}<br>
|
||||
<input name="registered_hours" type="number" value="0"/>{{lang "panel_group_promotion_registered_hours_suffix"}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="formrow form_button_row">
|
||||
|
Loading…
Reference in New Issue
Block a user