mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-19 20:28:53 +00:00
Simplify community guidelines string
This commit is contained in:
parent
f0e4149adb
commit
c04b27ffd5
2 changed files with 2 additions and 7 deletions
|
|
@ -147,7 +147,6 @@
|
|||
"partyChatEmpty": "Your party chat is empty! Type a message in the box above to start chatting.",
|
||||
"guildChatEmpty": "This guild's chat is empty! Type a message in the box above to start chatting.",
|
||||
"possessiveParty": "<%= name %>'s Party",
|
||||
"requestAcceptGuidelines1": "If you would like to post messages in the Tavern or any party or guild chat, please first read our",
|
||||
"requestAcceptGuidelines2": "and then click the button below to indicate that you accept them."
|
||||
"requestAcceptGuidelines": "If you would like to post messages in the Tavern or any party or guild chat, please first read our <%= linkStart %>Communit Guidelines<%= linkEnd %> and then click the button below to indicate that you accept them."
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
div.chat-form.guidelines-not-accepted(ng-if='!user.flags.communityGuidelinesAccepted')
|
||||
p=env.t('requestAcceptGuidelines1')
|
||||
|
|
||||
a(target='_blank', href='/static/community-guidelines')=env.t('communityGuidelines')
|
||||
|
|
||||
=env.t('requestAcceptGuidelines2')
|
||||
p!=env.t('requestAcceptGuidelines', {linkStart: '<a target="_blank", href="/static/community-guidelines">', linkEnd: '</a>'})
|
||||
.chat-controls
|
||||
div
|
||||
button.btn.btn-warning(ng-click='acceptCommunityGuidelines()')=env.t('iAcceptCommunityGuidelines')
|
||||
|
|
|
|||
Loading…
Reference in a new issue