DEV: enforces double quotes ember-template-lint (#9416)

This commit is contained in:
Joffrey JAFFEUX
2020-04-14 08:18:49 +02:00
committed by GitHub
parent 2d122f0393
commit c4644c61d9
332 changed files with 1788 additions and 1789 deletions
@@ -1,106 +1,106 @@
{{#d-section pageClass="about"}}
<div class='container'>
<div class='contents clearfix body-page'>
<div class="container">
<div class="contents clearfix body-page">
<ul class="nav-pills">
<li class="nav-item-about">{{#link-to 'about' class="active"}}{{i18n 'about.simple_title'}}{{/link-to}}</li>
<li class="nav-item-about">{{#link-to "about" class="active"}}{{i18n "about.simple_title"}}{{/link-to}}</li>
{{#if faqOverriden}}
<li class="nav-item-guidelines">{{#link-to 'guidelines'}}{{i18n 'guidelines'}}{{/link-to}}</li>
<li class="nav-item-faq">{{#link-to 'faq'}}{{i18n 'faq'}}{{/link-to}}</li>
<li class="nav-item-guidelines">{{#link-to "guidelines"}}{{i18n "guidelines"}}{{/link-to}}</li>
<li class="nav-item-faq">{{#link-to "faq"}}{{i18n "faq"}}{{/link-to}}</li>
{{else}}
<li class="nav-item-faq">{{#link-to 'faq'}}{{i18n 'faq'}}{{/link-to}}</li>
<li class="nav-item-faq">{{#link-to "faq"}}{{i18n "faq"}}{{/link-to}}</li>
{{/if}}
<li class="nav-item-tos">{{#link-to 'tos'}}{{i18n 'tos'}}{{/link-to}}</li>
<li class="nav-item-privacy">{{#link-to 'privacy'}}{{i18n 'privacy'}}{{/link-to}}</li>
<li class="nav-item-tos">{{#link-to "tos"}}{{i18n "tos"}}{{/link-to}}</li>
<li class="nav-item-privacy">{{#link-to "privacy"}}{{i18n "privacy"}}{{/link-to}}</li>
</ul>
<section class='about description'>
<h2>{{i18n 'about.title' title=model.title}}</h2>
<section class="about description">
<h2>{{i18n "about.title" title=model.title}}</h2>
<p>{{model.description}}</p>
</section>
{{plugin-outlet name="about-after-description"
connectorTagName='section'
tagName=''
connectorTagName="section"
tagName=""
args=(hash model=model)}}
{{#if model.admins}}
<section class='about admins'>
<h3>{{d-icon "users"}} {{i18n 'about.our_admins'}}</h3>
<section class="about admins">
<h3>{{d-icon "users"}} {{i18n "about.our_admins"}}</h3>
{{about-page-users users=model.admins}}
<div class='clearfix'></div>
<div class="clearfix"></div>
</section>
{{/if}}
{{plugin-outlet name="about-after-admins"
connectorTagName='section'
connectorTagName="section"
args=(hash model=model)}}
{{#if model.moderators}}
<section class='about moderators'>
<h3>{{d-icon "users"}} {{i18n 'about.our_moderators'}}</h3>
<section class="about moderators">
<h3>{{d-icon "users"}} {{i18n "about.our_moderators"}}</h3>
<div class='users'>
<div class="users">
{{about-page-users users=model.moderators}}
</div>
<div class='clearfix'></div>
<div class="clearfix"></div>
</section>
{{/if}}
{{plugin-outlet name="about-after-moderators"
connectorTagName='section'
connectorTagName="section"
args=(hash model=model)}}
{{#if model.category_moderators.length}}
{{#each model.category_moderators as |cm|}}
<section class='about category-moderators moderators-{{cm.category.slug}}'>
<section class="about category-moderators moderators-{{cm.category.slug}}">
<h3>{{category-link cm.category}}{{i18n "about.moderators"}}</h3>
<div class='users'>
<div class="users">
{{about-page-users users=cm.moderators}}
</div>
<div class='clearfix'></div>
<div class="clearfix"></div>
</section>
{{/each}}
{{/if}}
<section class='about stats'>
<h3>{{d-icon "far-chart-bar"}} {{i18n 'about.stats'}}</h3>
<section class="about stats">
<h3>{{d-icon "far-chart-bar"}} {{i18n "about.stats"}}</h3>
<table class='table'>
<table class="table">
<tbody>
<tr>
<th>&nbsp;</th>
<th>{{i18n 'about.stat.last_7_days'}}</th>
<th>{{i18n 'about.stat.last_30_days'}}</th>
<th>{{i18n 'about.stat.all_time'}}</th>
<th>{{i18n "about.stat.last_7_days"}}</th>
<th>{{i18n "about.stat.last_30_days"}}</th>
<th>{{i18n "about.stat.all_time"}}</th>
</tr>
<tr>
<td class='title'>{{i18n 'about.topic_count'}}</td>
<td class="title">{{i18n "about.topic_count"}}</td>
<td>{{number model.stats.topics_7_days}}</td>
<td>{{number model.stats.topics_30_days}}</td>
<td>{{number model.stats.topic_count}}</td>
</tr>
<tr>
<td>{{i18n 'about.post_count'}}</td>
<td>{{i18n "about.post_count"}}</td>
<td>{{number model.stats.posts_7_days}}</td>
<td>{{number model.stats.posts_30_days}}</td>
<td>{{number model.stats.post_count}}</td>
</tr>
<tr>
<td>{{i18n 'about.user_count'}}</td>
<td>{{i18n "about.user_count"}}</td>
<td>{{number model.stats.users_7_days}}</td>
<td>{{number model.stats.users_30_days}}</td>
<td>{{number model.stats.user_count}}</td>
</tr>
<tr>
<td>{{i18n 'about.active_user_count'}}</td>
<td>{{i18n "about.active_user_count"}}</td>
<td>{{number model.stats.active_users_7_days}}</td>
<td>{{number model.stats.active_users_30_days}}</td>
<td>&mdash;</td>
</tr>
<tr>
<td>{{i18n 'about.like_count'}}</td>
<td>{{i18n "about.like_count"}}</td>
<td>{{number model.stats.likes_7_days}}</td>
<td>{{number model.stats.likes_30_days}}</td>
<td>{{number model.stats.like_count}}</td>
@@ -110,8 +110,8 @@
</section>
{{#if contactInfo}}
<section class='about contact'>
<h3>{{d-icon "far-envelope"}} {{i18n 'about.contact'}}</h3>
<section class="about contact">
<h3>{{d-icon "far-envelope"}} {{i18n "about.contact"}}</h3>
<p>{{html-safe contactInfo}}</p>
</section>
{{/if}}
@@ -1,5 +1,5 @@
<div id='simple-container'>
<div class='account-created'>
<div id="simple-container">
<div class="account-created">
{{outlet}}
</div>
</div>
@@ -1,8 +1,8 @@
<div class='ac-message'>
<div class="ac-message">
{{activation-email-form email=newEmail}}
</div>
<div class='activation-controls'>
<div class="activation-controls">
{{d-button action=(action "changeEmail")
label="login.submit_new_email"
disabled=submitDisabled
@@ -1,4 +1,4 @@
<div class='ac-message'>
<div class="ac-message">
{{html-safe accountCreated.message}}
</div>
{{#if accountCreated.show_controls}}
@@ -1,7 +1,7 @@
<div class='ac-message'>
<div class="ac-message">
{{#if email}}
{{html-safe (i18n 'login.sent_activation_email_again' currentEmail=email)}}
{{html-safe (i18n "login.sent_activation_email_again" currentEmail=email)}}
{{else}}
{{i18n 'login.sent_activation_email_again_generic'}}
{{i18n "login.sent_activation_email_again_generic"}}
{{/if}}
</div>
@@ -1,11 +1,11 @@
{{#d-section pageClass="badges"}}
<div class='container badges'>
<h1>{{i18n 'badges.title'}}</h1>
<div class="container badges">
<h1>{{i18n "badges.title"}}</h1>
<div class='badge-groups'>
<div class="badge-groups">
{{#each badgeGroups as |bg|}}
<div class='badge-grouping'>
<div class='title'>
<div class="badge-grouping">
<div class="title">
<h3>{{bg.badgeGrouping.displayName}}</h3>
</div>
<div class="badge-group-list">
@@ -1,17 +1,17 @@
<div class='container show-badge {{model.slug}}'>
<div class="container show-badge {{model.slug}}">
<h1>
{{#link-to 'badges.index'}}{{i18n 'badges.title'}}{{/link-to}}
{{#link-to "badges.index"}}{{i18n "badges.title"}}{{/link-to}}
/
{{model.name}}
</h1>
<div class='show-badge-details'>
<div class="show-badge-details">
{{badge-card badge=model size="large" count=userBadges.grant_count}}
<div class='badge-grant-info {{if hiddenSetTitle '' 'hidden'}}'>
<div class="badge-grant-info {{if hiddenSetTitle "" "hidden"}}">
<div>
{{#if canSelectTitle}}
<div class='grant-info-item'>
{{i18n 'badges.allow_title'}}
<div class="grant-info-item">
{{i18n "badges.allow_title"}}
{{d-button
class="btn-default pad-left"
action=(action "toggleSetUserTitle")
@@ -19,15 +19,15 @@
</div>
{{/if}}
{{#if model.multiple_grant}}
<div class='grant-info-item'>
{{i18n 'badges.multiple_grant'}}
<div class="grant-info-item">
{{i18n "badges.multiple_grant"}}
</div>
{{/if}}
</div>
</div>
{{#if canSelectTitle}}
<div class='badge-set-title {{if hiddenSetTitle 'hidden' ''}}'>
<div class="badge-set-title {{if hiddenSetTitle "hidden" ""}}">
{{badge-title selectableUserBadges=selectableUserBadges user=user}}
{{d-button class="btn-default close-btn" action=(action "toggleSetUserTitle") label="close"}}
</div>
@@ -40,7 +40,7 @@
<div class="badges-granted">
{{#each userBadges as |ub|}}
{{#user-info user=ub.user size="medium" class="badge-info" date=ub.granted_at}}
<div class="granted-on">{{i18n 'badges.granted_on' date=(inline-date ub.granted_at)}}</div>
<div class="granted-on">{{i18n "badges.granted_on" date=(inline-date ub.granted_at)}}</div>
{{#if ub.post_number}}
<a class="post-link" href="{{ub.topic.url}}/{{ub.post_number}}">{{html-safe ub.topic.fancyTitle}}</a>
{{/if}}
@@ -51,8 +51,8 @@
{{#unless canLoadMore}}
{{#if canShowOthers}}
<div class='clearfix'>
<a class='btn' href={{model.url}}>{{i18n 'badges.others_count' count=othersCount}}</a>
<div class="clearfix">
<a href={{model.url}} class="btn">{{i18n "badges.others_count" count=othersCount}}</a>
</div>
{{/if}}
{{/unless}}
@@ -1,13 +1,13 @@
<label class="btn btn-default btn-icon-text" disabled={{uploading}} title={{i18n 'user.change_avatar.upload_title'}}>
<label class="btn btn-default btn-icon-text" disabled={{uploading}} title={{i18n "user.change_avatar.upload_title"}}>
{{d-icon "far-image"}}
{{#if uploading}}
{{i18n 'uploading'}} {{uploadProgress}}%
{{i18n "uploading"}} {{uploadProgress}}%
{{else}}
{{i18n 'upload'}}
{{i18n "upload"}}
{{/if}}
<input class="hidden-upload-field" disabled={{uploading}} type="file" accept="image/*">
</label>
{{#if imageIsNotASquare}}
<div class="warning">{{i18n 'user.change_avatar.image_is_not_a_square'}}</div>
<div class="warning">{{i18n "user.change_avatar.image_is_not_a_square"}}</div>
{{/if}}
@@ -1,4 +1,4 @@
<label class="btn" disabled={{uploading}} title={{i18n 'admin.backups.upload.title'}}>
<label class="btn" disabled={{uploading}} title={{i18n "admin.backups.upload.title"}}>
{{d-icon "upload"}}&nbsp;{{uploadButtonText}}
<input class="hidden-upload-field" disabled={{uploading}} type="file" accept=".gz">
</label>
@@ -1,17 +1,17 @@
{{#if displayCount}}
<a href={{url}} class='grant-count' title={{i18n 'badges.granted' count=displayCount}}>{{displayCount}}</a>
<a href={{url}} title={{i18n "badges.granted" count=displayCount}} class="grant-count">{{displayCount}}</a>
{{/if}}
{{#if badge.has_badge}}
<a href={{url}} class='check-display status-checked'>{{d-icon "check"}}</a>
<a href={{url}} class="check-display status-checked">{{d-icon "check"}}</a>
{{/if}}
<div class='badge-contents'>
<div class='badge-icon {{badge.badgeTypeClassName}}'>
<div class="badge-contents">
<div class="badge-icon {{badge.badgeTypeClassName}}">
<a href={{url}}>{{icon-or-image badge}}</a>
</div>
<div class='badge-info'>
<div class='badge-info-item'>
<h3><a href={{url}} class='badge-link'>{{badge.name}}</a></h3>
<div class='badge-summary'>{{html-safe summary}}</div>
<div class="badge-info">
<div class="badge-info-item">
<h3><a href={{url}} class="badge-link">{{badge.name}}</a></h3>
<div class="badge-summary">{{html-safe summary}}</div>
</div>
</div>
</div>
@@ -1 +1 @@
<input class='ember-text-field badge-names' type="text" placeholder={{placeholder}} name="badges">
<input type="text" placeholder={{placeholder}} name="badges" class="ember-text-field badge-names">
@@ -1,9 +1,9 @@
<section class='user-content'>
<section class="user-content">
<form class="form-horizontal">
<div class="control-group">
<div class="controls">
<h3>{{i18n 'badges.select_badge_for_title'}}</h3>
<h3>{{i18n "badges.select_badge_for_title"}}</h3>
</div>
</div>
@@ -25,7 +25,7 @@
action=(action "save")
disabled=saving
label=(if saving "saving" "save")}}
{{#if saved}}{{i18n 'saved'}}{{/if}}
{{#if saved}}{{i18n "saved"}}{{/if}}
</div>
</div>
@@ -1,7 +1,7 @@
{{#conditional-loading-spinner condition=loading}}
{{#if hasIncoming}}
<div class="show-mores">
<a tabindex="0" href {{action showInserted}} class='alert alert-info clickable'>
<a tabindex="0" href {{action showInserted}} class="alert alert-info clickable">
{{count-i18n key="topic_count_" suffix="latest" count=2}}
</a>
</div>
@@ -23,8 +23,8 @@
}}
{{else}}
{{#unless loadingMore}}
<div class='alert alert-info'>
{{i18n 'choose_topic.none_found'}}
<div class="alert alert-info">
{{i18n "choose_topic.none_found"}}
</div>
{{/unless}}
{{/if}}
@@ -1,5 +1,5 @@
{{#if selected}}
<div id='bulk-select'>
<div id="bulk-select">
{{d-button class="btn-default" action=(action "showBulkActions") icon="wrench"}}
</div>
{{/if}}
@@ -1,3 +1,3 @@
{{#link-to route args class="cancel"}}
{{i18n 'cancel'}}
{{i18n "cancel"}}
{{/link-to}}
@@ -1,7 +1,7 @@
<div class='column categories'>
<div class="column categories">
{{categories-only categories=categories}}
</div>
<div class='column'>
<div class="column">
{{categories-topic-list topics=topics filter="latest" class="latest-topic-list"}}
</div>
@@ -1,7 +1,7 @@
<div class='column categories'>
<div class="column categories">
{{categories-only categories=categories}}
</div>
<div class='column'>
<div class="column">
{{categories-topic-list topics=topics filter="top" class="top-topic-list"}}
</div>
@@ -1,5 +1,5 @@
{{d-icon topicStatusIcon}}
<a class='title' href={{topic.lastUnreadUrl}}>
<a href={{topic.lastUnreadUrl}} class="title">
{{text-overflow class="overflow" text=topic.fancyTitle}}
</a>
@@ -1,7 +1,7 @@
{{#each categories as |c|}}
<div data-notification-level={{c.notificationLevelString}} class='category category-box category-box-{{c.slug}} {{if c.isMuted "muted"}} {{if noCategoryStyle "no-category-boxes-style"}}' style={{unless noCategoryStyle (border-color c.color)}}>
<div class='category-box-inner'>
<div class='category-box-heading'>
<div data-notification-level={{c.notificationLevelString}} style={{unless noCategoryStyle (border-color c.color)}} class="category category-box category-box-{{c.slug}} {{if c.isMuted "muted"}} {{if noCategoryStyle "no-category-boxes-style"}}">
<div class="category-box-inner">
<div class="category-box-heading">
<a href={{c.url}}>
{{#unless c.isMuted}}
{{#if c.uploaded_logo.url}}
@@ -16,7 +16,7 @@
<h3>
{{category-title-before category=c}}
{{#if c.read_restricted}}
{{d-icon 'lock'}}
{{d-icon "lock"}}
{{/if}}
{{c.name}}
</h3>
@@ -24,7 +24,7 @@
</div>
{{#unless c.isMuted}}
<div class='featured-topics'>
<div class="featured-topics">
{{#if c.topics}}
<ul>
{{#each c.topics as |topic|}}
@@ -1,7 +1,6 @@
{{#each categories as |c|}}
<div class='category category-box category-box-{{c.slug}} {{if c.isMuted "muted"}} {{if noCategoryStyle "no-category-boxes-style"}}' style={{unless noCategoryStyle (border-color c.color)}} data-category-id={{c.id}} data-notification-level={{c.notificationLevelString}}
data-url={{c.url}}>
<div class='category-box-inner'>
<div style={{unless noCategoryStyle (border-color c.color)}} data-category-id={{c.id}} data-notification-level={{c.notificationLevelString}} data-url={{c.url}} class="category category-box category-box-{{c.slug}} {{if c.isMuted "muted"}} {{if noCategoryStyle "no-category-boxes-style"}}">
<div class="category-box-inner">
{{#unless c.isMuted}}
<div class="category-logo">
{{#if c.uploaded_logo.url}}
@@ -15,11 +14,11 @@
</div>
{{/unless}}
<div class="category-details">
<div class='category-box-heading'>
<div class="category-box-heading">
<a class="parent-box-link" href={{c.url}}>
<h3>
{{#if c.read_restricted}}
{{d-icon 'lock'}}
{{d-icon "lock"}}
{{/if}}
{{c.name}}
</h3>
@@ -27,19 +26,19 @@
</div>
{{#unless c.isMuted}}
<div class='description'>
<div class="description">
{{text-overflow class="overflow" text=c.description_excerpt}}
</div>
{{#if c.isGrandParent}}
{{#each c.subcategories as |subcategory|}}
<div data-category-id={{subcategory.id}} data-notification-level={{subcategory.notificationLevelString}} style={{border-color subcategory.color}} class="subcategory with-subcategories {{if subcategory.uploaded_logo.url 'has-logo' 'no-logo'}}">
<div data-category-id={{subcategory.id}} data-notification-level={{subcategory.notificationLevelString}} style={{border-color subcategory.color}} class="subcategory with-subcategories {{if subcategory.uploaded_logo.url "has-logo" "no-logo"}}">
<div class="subcategory-box-inner">
{{category-title-link tagName="h4" category=subcategory}}
{{#if subcategory.subcategories}}
<div class='subcategories'>
<div class="subcategories">
{{#each subcategory.subcategories as |subsubcategory|}}
{{#unless subsubcategory.isMuted}}
<span class='subcategory'>
<span class="subcategory">
{{category-title-before category=subsubcategory}}
{{category-link subsubcategory hideParent="true"}}
</span>
@@ -51,7 +50,7 @@
</div>
{{/each}}
{{else if c.subcategories}}
<div class='subcategories'>
<div class="subcategories">
{{#each c.subcategories as |sc|}}
<a class="subcategory" href={{sc.url}}>
<span class="subcategory-image-placeholder">
@@ -1,18 +1,18 @@
{{#if categories}}
<table class="category-list {{if showTopics 'with-topics'}}">
<table class="category-list {{if showTopics "with-topics"}}">
<thead>
<tr>
<th class="category"><span aria-role="heading" aria-level="2" id="categories-only-category">{{i18n 'categories.category'}}</span></th>
<th class="topics">{{i18n 'categories.topics'}}</th>
<th class="category"><span aria-role="heading" aria-level="2" id="categories-only-category">{{i18n "categories.category"}}</span></th>
<th class="topics">{{i18n "categories.topics"}}</th>
{{#if showTopics}}
<th class="latest">{{i18n 'categories.latest'}}</th>
<th class="latest">{{i18n "categories.latest"}}</th>
{{/if}}
</tr>
</thead>
<tbody aria-labelledby="categories-only-category">
{{#each categories as |c|}}
<tr data-category-id={{c.id}} data-notification-level={{c.notificationLevelString}} class="{{if c.description_excerpt 'has-description' 'no-description'}} {{if c.uploaded_logo.url 'has-logo' 'no-logo'}}">
<td class="category {{if c.isMuted 'muted'}} {{if noCategoryStyle "no-category-style"}}" style={{unless noCategoryStyle (border-color c.color)}}>
<tr data-category-id={{c.id}} data-notification-level={{c.notificationLevelString}} class="{{if c.description_excerpt "has-description" "no-description"}} {{if c.uploaded_logo.url "has-logo" "no-logo"}}">
<td class="category {{if c.isMuted "muted"}} {{if noCategoryStyle "no-category-style"}}" style={{unless noCategoryStyle (border-color c.color)}}>
{{category-title-link category=c}}
{{#unless c.isMuted}}
{{#if c.description_excerpt}}
@@ -24,7 +24,7 @@
<table class="category-list subcategories-with-subcategories">
<tbody>
{{#each c.subcategories as |subcategory|}}
<tr data-category-id={{subcategory.id}} data-notification-level={{subcategory.notificationLevelString}} class="{{if subcategory.description_excerpt 'has-description' 'no-description'}} {{if subcategory.uploaded_logo.url 'has-logo' 'no-logo'}}">
<tr data-category-id={{subcategory.id}} data-notification-level={{subcategory.notificationLevelString}} class="{{if subcategory.description_excerpt "has-description" "no-description"}} {{if subcategory.uploaded_logo.url "has-logo" "no-logo"}}">
<td class="category" style={{border-color subcategory.color}}>
{{category-title-link tagName="h4" category=subcategory}}
{{#if subcategory.description_excerpt}}
@@ -33,10 +33,10 @@
</div>
{{/if}}
{{#if subcategory.subcategories}}
<div class='subcategories'>
<div class="subcategories">
{{#each subcategory.subcategories as |subsubcategory|}}
{{#unless subsubcategory.isMuted}}
<span class='subcategory'>
<span class="subcategory">
{{category-title-before category=subsubcategory}}
{{category-link subsubcategory hideParent="true"}}
</span>
@@ -56,10 +56,10 @@
</tbody>
</table>
{{else if c.subcategories}}
<div class='subcategories'>
<div class="subcategories">
{{#each c.subcategories as |subcategory|}}
{{#unless subcategory.isMuted}}
<span class='subcategory'>
<span class="subcategory">
{{category-title-before category=subcategory}}
{{category-link subcategory hideParent="true"}}
{{category-unread category=subcategory}}
@@ -1,4 +1,4 @@
<div class='table-heading' aria-role="heading" aria-level="2">
<div aria-role="heading" aria-level="2" class="table-heading">
{{i18n (concat "filters." filter ".title")}}
</div>
@@ -7,10 +7,10 @@
{{latest-topic-list-item topic=t}}
{{/each}}
<div class="more-topics">
<a href={{get-url (concat '/' filter)}} class="btn btn-default pull-right">{{i18n "more"}}</a>
<a href={{get-url (concat "/" filter)}} class="btn btn-default pull-right">{{i18n "more"}}</a>
</div>
{{else}}
<div class='no-topics'>
<div class="no-topics">
<h3>{{i18n (concat "topics.none." filter)}}</h3>
</div>
{{/if}}
@@ -1,12 +1,12 @@
<section class='field'>
<section class="field">
{{#unless category.isUncategorizedCategory}}
<section class="field-item">
<label>{{i18n 'category.name'}}</label>
<label>{{i18n "category.name"}}</label>
{{text-field value=category.name placeholderKey="category.name_placeholder" maxlength="50"}}
</section>
{{/unless}}
<section class="field-item">
<label>{{i18n 'category.slug'}}</label>
<label>{{i18n "category.slug"}}</label>
{{text-field value=category.slug placeholderKey="category.slug_placeholder" maxlength="255"}}
</section>
</section>
@@ -2,7 +2,7 @@
<div class="category-text-title">
{{category-title-before category=category}}
{{#if category.read_restricted}}
{{d-icon 'lock'}}
{{d-icon "lock"}}
{{/if}}
<span class="category-name">{{dir-span category.name}}</span>
</div>
@@ -1,6 +1,6 @@
{{#if category.unreadTopics}}
<a href={{category.unreadUrl}} class='badge new-posts badge-notification' title={{i18n 'topic.unread_topics' count=category.unreadTopics}}>{{i18n 'filters.unread.lower_title_with_count' count=category.unreadTopics}}</a>
<a href={{category.unreadUrl}} title={{i18n "topic.unread_topics" count=category.unreadTopics}} class="badge new-posts badge-notification">{{i18n "filters.unread.lower_title_with_count" count=category.unreadTopics}}</a>
{{/if}}
{{#if category.newTopics}}
<a href={{category.newUrl}} class='badge new-posts badge-notification' title={{i18n 'topic.new_topics' count=category.newTopics}}>{{i18n 'filters.new.lower_title_with_count' count=category.newTopics}}</a>
<a href={{category.newUrl}} title={{i18n "topic.new_topics" count=category.newTopics}} class="badge new-posts badge-notification">{{i18n "filters.new.lower_title_with_count" count=category.newTopics}}</a>
{{/if}}
@@ -1,17 +1,17 @@
<label for='choose-message-title'>{{i18n 'choose_message.title.search'}}</label>
<label for="choose-message-title">{{i18n "choose_message.title.search"}}</label>
{{text-field value=messageTitle placeholderKey="choose_message.title.placeholder" id="choose-message-title"}}
{{#if loading}}
<p>{{i18n 'loading'}}</p>
<p>{{i18n "loading"}}</p>
{{else}}
{{#if noResults}}
<p>{{i18n 'choose_message.none_found'}}</p>
<p>{{i18n "choose_message.none_found"}}</p>
{{else}}
{{#each messages as |m|}}
<div class='controls existing-message'>
<label class='radio'>
<input type='radio' id="choose-message-{{m.id}}" name='choose_message_id' {{action "chooseMessage" m}}>
<div class="controls existing-message">
<label class="radio">
<input id="choose-message-{{m.id}}" {{action "chooseMessage" m}} type="radio" name="choose_message_id">
<span class="message-title">
{{m.title}}
</span>
@@ -1,17 +1,17 @@
<label for='choose-topic-title'>{{i18n labelText}}</label>
<label for="choose-topic-title">{{i18n labelText}}</label>
{{text-field value=topicTitle placeholderKey="choose_topic.title.placeholder" id="choose-topic-title"}}
{{#if loading}}
<p>{{i18n 'loading'}}</p>
<p>{{i18n "loading"}}</p>
{{else}}
{{#if noResults}}
<p>{{i18n 'choose_topic.none_found'}}</p>
<p>{{i18n "choose_topic.none_found"}}</p>
{{else}}
{{#each topics as |t|}}
<div class='controls existing-topic'>
<label class='radio'>
<input type='radio' id="choose-topic-{{t.id}}" name='choose_topic_id' {{action "chooseTopic" t}}>
<div class="controls existing-topic">
<label class="radio">
<input id="choose-topic-{{t.id}}" {{action "chooseTopic" t}} type="radio" name="choose_topic_id">
{{raw "topic-status" topic=t}}
<span class="topic-title">
{{t.title}}
@@ -1,5 +1,5 @@
{{#each colors as |c|}}
{{#color-picker-choice color=c usedColors=usedColors selectColor=(action "selectColor")}}
{{d-icon 'check'}}
{{d-icon "check"}}
{{/color-picker-choice}}
{{/each}}
@@ -3,19 +3,19 @@
topicId=topicId
onChangeCallback=(action "triggerResize")
id="private-message-users"
includeMessageableGroups='true'
includeMessageableGroups="true"
placeholderKey="composer.users_placeholder"
tabindex="1"
usernames=usernames
hasGroups=hasGroups
allowEmails='true'
allowEmails="true"
autocomplete="discourse"
}}
{{else}}
<a href {{action "toggleSelector"}}>
<div class='ac-wrap composer-user-selector-limited'>
<div class="ac-wrap composer-user-selector-limited">
<span>{{limitedUsernames}}</span>
<span class='btn btn-primary'>{{hiddenUsersCount}}</span>
<span class="btn btn-primary">{{hiddenUsersCount}}</span>
</div>
</a>
{{/if}}
@@ -1,6 +1,6 @@
{{#unless hidden}}
<div class='row'>
<div class='alert alert-info alert-too-few-topics'>
<div class="row">
<div class="alert alert-info alert-too-few-topics">
{{message}}
</div>
</div>
@@ -3,5 +3,5 @@
<input class="hidden-upload-field" disabled={{uploading}} type="file" accept=".csv">
</label>
{{#if uploading}}
<span>{{i18n 'upload_selector.uploading'}} {{uploadProgress}}%</span>
<span>{{i18n "upload_selector.uploading"}} {{uploadProgress}}%</span>
{{/if}}
@@ -11,7 +11,7 @@
{{/if}}
{{#if translatedLabel}}
<span class='d-button-label'>{{html-safe translatedLabel}}{{#if ellipsis}}&hellip;{{/if}}</span>
<span class="d-button-label">{{html-safe translatedLabel}}{{#if ellipsis}}&hellip;{{/if}}</span>
{{/if}}
{{yield}}
@@ -1,6 +1,6 @@
<div class='d-editor-container'>
<div class="d-editor-container">
<div class="d-editor-textarea-wrapper {{if disabled "disabled"}}">
<div class='d-editor-button-bar'>
<div class="d-editor-button-bar">
{{#each toolbar.groups as |group|}}
{{#each group.buttons as |b|}}
{{#if b.popupMenu}}
@@ -27,7 +27,7 @@
{{/each}}
{{#unless group.lastGroup}}
<div class='d-editor-spacer'></div>
<div class="d-editor-spacer"></div>
{{/unless}}
{{/each}}
</div>
@@ -45,10 +45,10 @@
{{plugin-outlet name="after-d-editor" tagName="" args=outletArgs}}
</div>
<div class="d-editor-preview-wrapper {{if forcePreview 'force-preview'}}">
<div class="d-editor-preview-wrapper {{if forcePreview "force-preview"}}">
<div class="d-editor-preview">{{html-safe preview}}</div>
{{plugin-outlet name="editor-preview" classNames="d-editor-plugin" args=outletArgs}}
</div>
</div>
{{emoji-picker active=emojiPickerIsActive isEditorFocused=isEditorFocused emojiSelected=(action 'emojiSelected')}}
{{emoji-picker active=emojiPickerIsActive isEditorFocused=isEditorFocused emojiSelected=(action "emojiSelected")}}
@@ -1 +1 @@
<a href {{action close}} class='d-modal-cancel'>{{i18n 'cancel'}}</a>
<a href {{action close}} class="d-modal-cancel">{{i18n "cancel"}}</a>
@@ -27,7 +27,7 @@
{{/if}}
</div>
<div id='modal-alert'></div>
<div id="modal-alert"></div>
{{yield}}
@@ -17,7 +17,7 @@
<div class="alert error">{{error}}</div>
{{/if}}
<div class="panel from {{if fromPanelActive 'visible'}}">
<div class="panel from {{if fromPanelActive "visible"}}">
{{date-time-input
date=from
onChange=(action "_onChange" (hash prop="from"))
@@ -25,7 +25,7 @@
}}
</div>
<div class="panel to {{if toPanelActive 'visible'}}">
<div class="panel to {{if toPanelActive "visible"}}">
{{date-time-input
date=to
onChange=(action "_onChange" (hash prop="to"))
@@ -2,7 +2,7 @@
{{d-button icon="bell-slash" class="btn-default" label="user.desktop_notifications.not_supported" disabled="true"}}
{{/if}}
{{#if isDeniedPermission}}
{{d-button icon="bell-slash" class="btn-default" label="user.desktop_notifications.perm_denied_btn" action=(action "recheckPermission") disabled='true'}}
{{d-button icon="bell-slash" class="btn-default" label="user.desktop_notifications.perm_denied_btn" action=(action "recheckPermission") disabled="true"}}
{{i18n "user.desktop_notifications.perm_denied_expl"}}
{{else}}
{{#if isEnabled}}
@@ -7,5 +7,5 @@
<td>{{number item.posts_read}}</td>
<td>{{number item.days_visited}}</td>
{{#if showTimeRead}}
<td><span class='time-read'>{{format-duration item.time_read}}</span></td>
<td><span class="time-read">{{format-duration item.time_read}}</span></td>
{{/if}}
@@ -1,7 +1,7 @@
{{#if category.isUncategorizedCategory}}
<p class="warning">
{{d-icon "exclamation-triangle"}}
{{html-safe (i18n 'category.uncategorized_general_warning' settingLink=uncategorizedSiteSettingLink customizeLink=customizeTextContentLink)}}
{{html-safe (i18n "category.uncategorized_general_warning" settingLink=uncategorizedSiteSettingLink customizeLink=customizeTextContentLink)}}
</p>
{{/if}}
@@ -9,8 +9,8 @@
{{category-name-fields category=category tagName=""}}
{{#if canSelectParentCategory}}
<section class='field'>
<label>{{i18n 'category.parent'}}</label>
<section class="field">
<label>{{i18n "category.parent"}}</label>
{{category-chooser
rootNone=true
value=category.parent_category_id
@@ -24,8 +24,8 @@
{{/if}}
{{#if subCategories}}
<section class='field'>
<label>{{i18n 'categories.subcategories'}}</label>
<section class="field">
<label>{{i18n "categories.subcategories"}}</label>
{{#each subCategories as |s|}}
{{category-badge s hideParent="true"}}
{{/each}}
@@ -33,12 +33,12 @@
{{/if}}
{{#if showDescription}}
<section class='field'>
<label>{{i18n 'category.description'}}</label>
<section class="field">
<label>{{i18n "category.description"}}</label>
{{#if category.description}}
{{html-safe category.description}}
{{else}}
{{i18n 'category.no_description'}}
{{i18n "category.no_description"}}
{{/if}}
{{#if category.topic_url}}
<br>
@@ -48,24 +48,24 @@
{{/if}}
{{#unless noCategoryStyle}}
<section class='field'>
<label>{{i18n 'category.badge_colors'}}</label>
<section class="field">
<label>{{i18n "category.badge_colors"}}</label>
<div class="category-color-editor">
{{html-safe categoryBadgePreview}}
<div class='input-prepend input-append' style="margin-top: 10px;">
<span class='color-title'>{{i18n 'category.background_color'}}:</span>
<div style="margin-top: 10px;" class="input-prepend input-append">
<span class="color-title">{{i18n "category.background_color"}}:</span>
<div class="colorpicker-wrapper">
<span class='add-on'>#</span>{{text-field value=category.color placeholderKey="category.color_placeholder" maxlength="6"}}
<span class="add-on">#</span>{{text-field value=category.color placeholderKey="category.color_placeholder" maxlength="6"}}
{{color-picker colors=backgroundColors usedColors=usedBackgroundColors value=category.color}}
</div>
</div>
<div class='input-prepend input-append'>
<span class='color-title'>{{i18n 'category.foreground_color'}}:</span>
<div class="input-prepend input-append">
<span class="color-title">{{i18n "category.foreground_color"}}:</span>
<div class="colorpicker-wrapper">
<span class='add-on'>#</span>{{text-field value=category.text_color placeholderKey="category.color_placeholder" maxlength="6"}}
{{color-picker colors=foregroundColors value=category.text_color id='edit-text-color'}}
<span class="add-on">#</span>{{text-field value=category.text_color placeholderKey="category.color_placeholder" maxlength="6"}}
{{color-picker colors=foregroundColors value=category.text_color id="edit-text-color"}}
</div>
</div>
</div>
@@ -1,5 +1,5 @@
<section class='field'>
<label>{{i18n 'category.logo'}}</label>
<section class="field">
<label>{{i18n "category.logo"}}</label>
{{image-uploader
imageUrl=logoImageUrl
onUploadDone=(action "logoUploadDone")
@@ -8,8 +8,8 @@
class="no-repeat contain-image"}}
</section>
<section class='field'>
<label>{{i18n 'category.background_image'}}</label>
<section class="field">
<label>{{i18n "category.background_image"}}</label>
{{image-uploader
imageUrl=backgroundImageUrl
onUploadDone=(action "backgroundUploadDone")
@@ -1,13 +1,13 @@
<section class='field'>
<section class="field">
{{#if category.is_special}}
{{#if category.isUncategorizedCategory}}
<p class="warning">{{i18n 'category.uncategorized_security_warning'}}</p>
<p class="warning">{{i18n "category.uncategorized_security_warning"}}</p>
{{else}}
<p class="warning">{{i18n 'category.special_warning'}}</p>
<p class="warning">{{i18n "category.special_warning"}}</p>
{{/if}}
{{/if}}
{{#unless category.isUncategorizedCategory}}
<ul class='permission-list'>
<ul class="permission-list">
{{#each category.permissions as |p|}}
<li>
<span class="name"><span class="badge-group">{{p.group_name}}</span></span>
@@ -1,19 +1,19 @@
<section>
<h3>{{i18n 'category.settings_sections.general'}}</h3>
<h3>{{i18n "category.settings_sections.general"}}</h3>
{{#if showPositionInput}}
<section class='field position-fields'>
<section class="field position-fields">
<label for="category-position">
{{i18n 'category.position'}}
{{i18n "category.position"}}
</label>
{{text-field value=category.position id="category-position" class="position-input" type="number"}}
</section>
{{/if}}
{{#unless showPositionInput}}
<section class='field'>
{{i18n 'category.position_disabled'}}
<a href={{get-url '/admin/site_settings/category/basic'}}>{{i18n 'category.position_disabled_click'}}</a>
<section class="field">
{{i18n "category.position_disabled"}}
<a href={{get-url "/admin/site_settings/category/basic"}}>{{i18n "category.position_disabled_click"}}</a>
</section>
{{/unless}}
@@ -46,19 +46,19 @@
</div>
</section>
<section class='field'>
<section class="field">
<label>
{{input type="checkbox" checked=category.allow_badges}}
{{i18n 'category.allow_badges_label'}}
{{i18n "category.allow_badges_label"}}
</label>
</section>
{{#if siteSettings.topic_featured_link_enabled}}
<section class='field'>
<section class="field">
<div class="allowed-topic-featured-link-category">
<label class="checkbox-label">
{{input type="checkbox" checked=category.topic_featured_link_allowed}}
{{i18n 'category.topic_featured_link_allowed'}}
{{i18n "category.topic_featured_link_allowed"}}
</label>
</div>
</section>
@@ -80,11 +80,11 @@
</section>
<section>
<h3>{{i18n 'category.settings_sections.moderation'}}</h3>
<h3>{{i18n "category.settings_sections.moderation"}}</h3>
{{#if siteSettings.enable_category_group_review}}
<section class="field">
<label for="reviewable-by-group">
{{i18n 'category.reviewable_by_group'}}
{{i18n "category.reviewable_by_group"}}
</label>
{{group-selector
groupFinder=groupFinder
@@ -98,34 +98,34 @@
<section class="field">
<label>
{{input type="checkbox" checked=category.custom_fields.require_topic_approval}}
{{i18n 'category.require_topic_approval'}}
{{i18n "category.require_topic_approval"}}
</label>
</section>
<section class="field">
<label>
{{input type="checkbox" checked=category.custom_fields.require_reply_approval}}
{{i18n 'category.require_reply_approval'}}
{{i18n "category.require_reply_approval"}}
</label>
</section>
<section class='field'>
<section class="field">
<div class="control-group">
<label for="topic-auto-close">
{{i18n 'topic.auto_close.label'}}
{{i18n "topic.auto_close.label"}}
</label>
{{text-field value=category.auto_close_hours id="topic-auto-close" type="number"}}
<label>
{{input type="checkbox" checked=category.auto_close_based_on_last_post}}
{{i18n 'topic.auto_close.based_on_last_post'}}
{{i18n "topic.auto_close.based_on_last_post"}}
</label>
</div>
</section>
{{#if siteSettings.tagging_enabled}}
<section class='field minimum-required-tags'>
<section class="field minimum-required-tags">
<label for="category-minimum-tags">
{{i18n 'category.minimum_required_tags'}}
{{i18n "category.minimum_required_tags"}}
</label>
{{text-field value=category.minimum_required_tags id="category-minimum-tags" type="number" min="0"}}
</section>
@@ -227,25 +227,25 @@
<h3>{{i18n "category.settings_sections.email"}}</h3>
{{#if emailInEnabled}}
<section class='field'>
<section class="field">
<label for="category-email-in">
{{d-icon "far-envelope"}}
{{i18n 'category.email_in'}}
{{i18n "category.email_in"}}
</label>
{{text-field id="category-email-in" class="email-in" value=category.email_in}}
</section>
<section class='field'>
<section class="field">
<label>
{{input type="checkbox" checked=category.email_in_allow_strangers}}
{{i18n 'category.email_in_allow_strangers'}}
{{i18n "category.email_in_allow_strangers"}}
</label>
</section>
<section class='field'>
<section class="field">
<label>
{{input type="checkbox" checked=category.mailinglist_mirror}}
{{i18n 'category.mailinglist_mirror'}}
{{i18n "category.mailinglist_mirror"}}
</label>
</section>
@@ -253,9 +253,9 @@
{{/if}}
{{#unless emailInEnabled}}
<section class='field'>
{{i18n 'category.email_in_disabled'}}
<a href={{get-url '/admin/site_settings/category/email'}}>{{i18n 'category.email_in_disabled_click'}}</a>
<section class="field">
{{i18n "category.email_in_disabled"}}
<a href={{get-url "/admin/site_settings/category/email"}}>{{i18n "category.email_in_disabled_click"}}</a>
</section>
{{/unless}}
</section>
@@ -1 +1 @@
<a href {{action "select"}} class={{if active 'active'}}>{{title}}</a>
<a href {{action "select"}} class={{if active "active"}}>{{title}}</a>
@@ -1,5 +1,5 @@
<section class="field">
<label for="category-allowed-tags">{{i18n 'category.tags_allowed_tags'}}</label>
<label for="category-allowed-tags">{{i18n "category.tags_allowed_tags"}}</label>
{{tag-chooser
id="category-allowed-tags"
tags=category.allowed_tags
@@ -14,36 +14,36 @@
</section>
<section class="field">
<label for="category-allowed-tag-groups">{{i18n 'category.tags_allowed_tag_groups'}}</label>
<label for="category-allowed-tag-groups">{{i18n "category.tags_allowed_tag_groups"}}</label>
{{tag-group-chooser
id="category-allowed-tag-groups"
tagGroups=category.allowed_tag_groups
}}
{{#link-to 'tagGroups'}}{{i18n 'category.manage_tag_groups_link'}}{{/link-to}}
</section>
<section class='field'>
<label>
{{input type="checkbox" checked=category.allow_global_tags id="allow_global_tags" disabled=disableAllowGlobalTags}}
{{i18n 'category.allow_global_tags_label'}}
</label>
</section>
<section class='field'>
{{i18n 'category.tags_tab_description'}}
{{#link-to "tagGroups"}}{{i18n "category.manage_tag_groups_link"}}{{/link-to}}
</section>
<section class="field">
{{i18n 'category.required_tag_group_description'}}
<label>
{{input type="checkbox" checked=category.allow_global_tags id="allow_global_tags" disabled=disableAllowGlobalTags}}
{{i18n "category.allow_global_tags_label"}}
</label>
</section>
<section class="field">
{{i18n "category.tags_tab_description"}}
</section>
<section class="field">
{{i18n "category.required_tag_group_description"}}
</section>
<section class="field with-items">
<section class="field-item">
<label>{{i18n 'category.min_tags_from_required_group_label'}}</label>
<label>{{i18n "category.min_tags_from_required_group_label"}}</label>
{{text-field value=category.min_tags_from_required_group id="category-min-tags-from-group" type="number" min="1"}}
</section>
<section class="field-item">
<label>{{i18n 'category.required_tag_group_label'}}</label>
<label>{{i18n "category.required_tag_group_label"}}</label>
{{tag-group-chooser
id="category-required-tag-group"
tagGroups=category.required_tag_groups
@@ -1,2 +1,2 @@
<label>{{i18n 'category.topic_template'}}</label>
<label>{{i18n "category.topic_template"}}</label>
{{d-editor value=category.topic_template}}
@@ -9,7 +9,7 @@
</div>
{{#if publishToCategory}}
<div class="control-group">
<label>{{i18n 'topic.topic_status_update.publish_to'}}</label>
<label>{{i18n "topic.topic_status_update.publish_to"}}</label>
{{category-chooser
value=topicTimer.category_id
excludeCategoryId=excludeCategoryId
@@ -1,2 +1,2 @@
<div class='emoji-picker'></div>
<div class='emoji-picker-modal'></div>
<div class="emoji-picker"></div>
<div class="emoji-picker-modal"></div>
@@ -33,7 +33,7 @@
</div>
<div class="control">
<div class="input">
<label class="btn btn-default btn-primary {{if addDisabled 'disabled'}}">
<label class="btn btn-default btn-primary {{if addDisabled "disabled"}}">
{{d-icon "plus"}}
{{i18n "admin.emoji.add"}}
<input
@@ -1,10 +1,10 @@
{{raw "topic-status" topic=topic}}
<a class='title' href={{topic.lastUnreadUrl}}>{{html-safe topic.fancyTitle}}</a>
<a href={{topic.lastUnreadUrl}} class="title">{{html-safe topic.fancyTitle}}</a>
{{topic-post-badges newPosts=topic.totalUnread unseen=topic.unseen url=topic.lastUnreadUrl}}
{{#if latestTopicOnly}}
<div class='last-user-info'>
{{i18n 'categories.latest_by'}} <a href={{html-safe topic.lastPosterUrl}}>{{topic.last_poster.username}}</a>
<div class="last-user-info">
{{i18n "categories.latest_by"}} <a href={{html-safe topic.lastPosterUrl}}>{{topic.last_poster.username}}</a>
<a href={{topic.lastPostUrl}}>{{format-age topic.last_posted_at}}</a>
</div>
{{else}}
@@ -1,11 +1,11 @@
{{#if isNotifyUser}}
<h3>{{formattedName}}</h3>
<div class='controls'>
<label class='radio'>
<input type='radio' id="radio_{{flag.name_key}}" {{action "changePostActionType" flag}} name='post_action_type_index'>
<div class="controls">
<label class="radio">
<input id="radio_{{flag.name_key}}" {{action "changePostActionType" flag}} type="radio" name="post_action_type_index">
<div class='flag-action-type-details'>
<span class='description'>{{html-safe flag.description}}</span>
<div class="flag-action-type-details">
<span class="description">{{html-safe flag.description}}</span>
{{#if showMessageInput}}
{{textarea name="message" class="flag-message" placeholder=customPlaceholder value=message}}
<div class="custom-message-length {{customMessageLengthClasses}}">{{customMessageLength}}</div>
@@ -15,16 +15,16 @@
</div>
{{#if staffFlagsAvailable}}
<hr>
<h3>{{i18n 'flagging.notify_staff'}}</h3>
<h3>{{i18n "flagging.notify_staff"}}</h3>
{{/if}}
{{else}}
<div class="controls {{flag.name_key}}">
<label class='radio'>
<input type='radio' id="radio_{{flag.name_key}}" {{action "changePostActionType" flag}} name='post_action_type_index'>
<div class='flag-action-type-details'>
<label class="radio">
<input id="radio_{{flag.name_key}}" {{action "changePostActionType" flag}} type="radio" name="post_action_type_index">
<div class="flag-action-type-details">
<strong>{{formattedName}}</strong>
{{#if showDescription}}
<div class='description'>{{html-safe description}}</div>
<div class="description">{{html-safe description}}</div>
{{/if}}
{{#if showMessageInput}}
{{textarea name="message" class="flag-message" placeholder=customPlaceholder value=message}}
@@ -1,5 +1,5 @@
{{#each flags as |f|}}
{{yield f}}
{{else}}
{{i18n 'flagging.cant'}}
{{i18n "flagging.cant"}}
{{/each}}
@@ -1,5 +1,5 @@
<p>{{i18n "user.invited.link_generated"}}</p>
<p>
<input class='invite-link-input' style='width: 75%' type='text' value={{link}}>
<input value={{link}} class="invite-link-input" style="width: 75%" type="text">
</p>
<p>{{i18n "user.invited.valid_for" email=email}}</p>
@@ -1,7 +1,7 @@
<div>
<form action='//google.com/search' id='google-search'>
<form action="//google.com/search" id="google-search">
<input type="text" name="q" value={{searchTerm}}>
<input type='hidden' name="as_sitesearch" value={{siteUrl}}>
<button class="btn btn-primary">{{i18n 'search.search_google_button'}}</button>
<input name="as_sitesearch" value={{siteUrl}} type="hidden">
<button class="btn btn-primary">{{i18n "search.search_google_button"}}</button>
</form>
</div>
@@ -1,3 +1,3 @@
{{#link-to (concat 'group.activity.' filter) (query-params category_id=categoryId)}}
{{i18n (concat 'groups.' filter)}}
{{#link-to (concat "group.activity." filter) (query-params category_id=categoryId)}}
{{i18n (concat "groups." filter)}}
{{/link-to}}
@@ -14,12 +14,12 @@
<div class="names">
<span>
<h1 class={{group.name}}>
<a href={{groupPath}} {{action "showGroup" group}} class='group-page-link'>{{group.name}}</a>
<a href={{groupPath}} {{action "showGroup" group}} class="group-page-link">{{group.name}}</a>
</h1>
{{#if group.full_name}}
<h2 class='full-name'>{{group.full_name}}</h2>
<h2 class="full-name">{{group.full_name}}</h2>
{{else}}
<h2 class='username'>{{group.name}}</h2>
<h2 class="username">{{group.name}}</h2>
{{/if}}
</span>
</div>
@@ -45,7 +45,7 @@
{{#if group.bio_cooked}}
<div class="card-row second-row">
<div class='bio'>{{html-safe group.bio_cooked}}</div>
<div class="bio">{{html-safe group.bio_cooked}}</div>
</div>
{{/if}}
@@ -54,7 +54,7 @@
<div class="metadata">
<h3>
<span class="desc">
{{i18n 'groups.user_count'}}
{{i18n "groups.user_count"}}
</span>
{{group.user_count}}
</h3>
@@ -73,7 +73,7 @@
<div class="card-row fourth-row">
<div class="members metadata">
{{#each group.members as |user|}}
<a href {{action 'showUser' user}} class="card-tiny-avatar">{{bound-avatar user "tiny"}}</a>
<a href {{action "showUser" user}} class="card-tiny-avatar">{{bound-avatar user "tiny"}}</a>
{{/each}}
{{#if showMoreMembers}}
<a href={{groupPath}} {{action "showGroup" group}} class="more-members-link">
@@ -1,17 +1,17 @@
<div class='control-group'>
<label class="control-label" for="flair_url">{{i18n 'groups.flair_url'}}</label>
<div class="control-group">
<label class="control-label" for="flair_url">{{i18n "groups.flair_url"}}</label>
{{text-field name="flair_url"
class="input-xxlarge"
value=model.flair_url
placeholderKey="groups.flair_url_placeholder"}}
<div class="control-instructions">
{{i18n 'groups.flair_url_description'}}
{{i18n "groups.flair_url_description"}}
</div>
</div>
<div class='control-group'>
<label class="control-label" for="flair_bg_color">{{i18n 'groups.flair_bg_color'}}</label>
<div class="control-group">
<label class="control-label" for="flair_bg_color">{{i18n "groups.flair_bg_color"}}</label>
{{text-field name="flair_bg_color"
class="group-flair-bg-color input-xxlarge"
@@ -20,8 +20,8 @@
</div>
{{#if flairPreviewIcon}}
<div class='control-group'>
<label class="control-label" for="flair_color">{{i18n 'groups.flair_color'}}</label>
<div class="control-group">
<label class="control-label" for="flair_color">{{i18n "groups.flair_color"}}</label>
{{text-field name="flair_color"
class="group-flair-color input-xxlarge"
@@ -30,8 +30,8 @@
</div>
{{/if}}
<div class='control-group'>
<label class='control-label'>{{flairPreviewLabel}}</label>
<div class="control-group">
<label class="control-label">{{flairPreviewLabel}}</label>
<div class="avatar-flair-preview">
<div class="avatar-wrapper">
@@ -6,7 +6,7 @@
</td>
<td>
<span>{{avatar log.acting_user imageSize='tiny'}}</span>
<span>{{avatar log.acting_user imageSize="tiny"}}</span>
{{#d-button class="btn-default" action=(action "filter") actionParam=(hash value=log.acting_user.username key="acting_user")}}
{{log.acting_user.username}}
@@ -15,7 +15,7 @@
<td>
{{#if log.target_user}}
<span>{{avatar log.target_user imageSize='tiny'}}</span>
<span>{{avatar log.target_user imageSize="tiny"}}</span>
{{#d-button class="btn-default" action=(action "filter") actionParam=(hash value=log.target_user.username key="target_user")}}
{{log.target_user.username}}
@@ -45,13 +45,13 @@
{{#if expandDetails}}
<tr>
<td colspan='6'>
<td colspan="6">
<p>
<strong>{{i18n 'groups.manage.logs.from'}}</strong>: <code>{{log.prev_value}}</code>
<strong>{{i18n "groups.manage.logs.from"}}</strong>: <code>{{log.prev_value}}</code>
</p>
<p>
<strong>{{i18n 'groups.manage.logs.to'}}</strong>: <code>{{log.new_value}}</code>
<strong>{{i18n "groups.manage.logs.to"}}</strong>: <code>{{log.new_value}}</code>
</p>
</td>
</tr>
@@ -1,12 +1,12 @@
<div class='control-group buttons'>
<div class="control-group buttons">
{{#d-button action=(action "save")
disabled=saving
class='btn btn-primary group-manage-save'
class="btn btn-primary group-manage-save"
}}
{{savingText}}
{{/d-button}}
{{#if saved}}
<span>{{i18n 'saved'}}</span>
<span>{{i18n "saved"}}</span>
{{/if}}
</div>
@@ -3,7 +3,7 @@
</a>
<span>{{member.username}}</span>
{{#unless automatic}}
<a href class='remove' {{action "remove"}}>
<a href {{action "remove"}} class="remove">
{{d-icon "times"}}
</a>
{{/unless}}
@@ -1,4 +1,4 @@
{{#mobile-nav class='group-nav' desktopClass="nav nav-pills" currentPath=currentPath}}
{{#mobile-nav class="group-nav" desktopClass="nav nav-pills" currentPath=currentPath}}
{{#if site.mobileView}}
<li>
{{#link-to "groups.index"}}
@@ -17,7 +17,7 @@
{{#link-to tab.route group title=tab.message class=tab.name}}
{{#if tab.icon}}{{d-icon tab.icon}}{{/if}}
{{tab.message}}
{{#if tab.count}}<span class='count'>({{tab.count}})</span>{{/if}}
{{#if tab.count}}<span class="count">({{tab.count}})</span>{{/if}}
{{/link-to}}
</li>
{{/each}}
@@ -1,13 +1,13 @@
<div class='clearfix info'>
<a href={{post.user.userUrl}} data-user-card={{post.user.username}} class='avatar-link'>
<div class="clearfix info">
<a href={{post.user.userUrl}} data-user-card={{post.user.username}} class="avatar-link">
{{avatar post.user imageSize="large" extraClasses="actor" ignoreTitle="true"}}
</a>
<span class='time'>{{format-date post.created_at leaveAgo="true"}}</span>
<span class="time">{{format-date post.created_at leaveAgo="true"}}</span>
{{expand-post item=post}}
<div class='stream-topic-details'>
<div class='stream-topic-title'>
<span class='title'>
<div class="stream-topic-details">
<div class="stream-topic-title">
<span class="title">
<a href={{postUrl}}>{{html-safe post.topic.fancyTitle}}</a>
</span>
</div>
@@ -21,7 +21,7 @@
</div>
</div>
<div class='excerpt'>
<div class="excerpt">
{{#if post.expandedExcerpt}}
{{html-safe post.expandedExcerpt}}
{{else}}
@@ -1 +1 @@
<input class='group-selector' placeholder={{placeholder}} type='text' name='groups'>
<input placeholder={{placeholder}} class="group-selector" type="text" name="groups">
@@ -1,7 +1,7 @@
{{#if currentUser.admin}}
<div class="control-group">
<label class="control-label">{{i18n 'admin.groups.manage.interaction.visibility'}}</label>
<label for="visiblity">{{i18n 'admin.groups.manage.interaction.visibility_levels.title'}}</label>
<label class="control-label">{{i18n "admin.groups.manage.interaction.visibility"}}</label>
<label for="visiblity">{{i18n "admin.groups.manage.interaction.visibility_levels.title"}}</label>
{{combo-box
name="alias"
@@ -14,12 +14,12 @@
}}
<div class="control-instructions">
{{i18n 'admin.groups.manage.interaction.visibility_levels.description'}}
{{i18n "admin.groups.manage.interaction.visibility_levels.description"}}
</div>
</div>
<div class="control-group">
<label for="visiblity">{{i18n 'admin.groups.manage.interaction.members_visibility_levels.title'}}</label>
<label for="visiblity">{{i18n "admin.groups.manage.interaction.members_visibility_levels.title"}}</label>
{{combo-box name="alias"
valueProperty="value"
@@ -29,14 +29,14 @@
class="groups-form-members-visibility-level"}}
<div class="control-instructions">
{{i18n 'admin.groups.manage.interaction.members_visibility_levels.description'}}
{{i18n "admin.groups.manage.interaction.members_visibility_levels.description"}}
</div>
</div>
{{/if}}
<div class="control-group">
<label class="control-label">{{i18n 'groups.manage.interaction.posting'}}</label>
<label for="alias">{{i18n 'groups.alias_levels.mentionable'}}</label>
<label class="control-label">{{i18n "groups.manage.interaction.posting"}}</label>
<label for="alias">{{i18n "groups.alias_levels.mentionable"}}</label>
{{combo-box
name="alias"
@@ -49,7 +49,7 @@
</div>
<div class="control-group">
<label for="alias">{{i18n 'groups.alias_levels.messageable'}}</label>
<label for="alias">{{i18n "groups.alias_levels.messageable"}}</label>
{{combo-box
name="alias"
@@ -67,14 +67,14 @@
checked=model.publish_read_state
class="groups-form-publish-read-state"}}
{{i18n 'admin.groups.manage.interaction.publish_read_state'}}
{{i18n "admin.groups.manage.interaction.publish_read_state"}}
</label>
</div>
{{#if showEmailSettings}}
<div class="control-group">
<label class="control-label">{{i18n 'admin.groups.manage.interaction.email'}}</label>
<label for="incoming_email">{{i18n 'admin.groups.manage.interaction.incoming_email'}}</label>
<label class="control-label">{{i18n "admin.groups.manage.interaction.email"}}</label>
<label for="incoming_email">{{i18n "admin.groups.manage.interaction.incoming_email"}}</label>
{{text-field name="incoming_email"
class="input-xxlarge groups-form-incoming-email"
@@ -85,10 +85,10 @@
</div>
{{/if}}
<label class="control-label">{{i18n 'groups.manage.interaction.notification'}}</label>
<label class="control-label">{{i18n "groups.manage.interaction.notification"}}</label>
<div class="control-group">
<label>{{i18n 'groups.notification_level'}}</label>
<label>{{i18n "groups.notification_level"}}</label>
{{notifications-button
value=model.default_notification_level
@@ -3,7 +3,7 @@
<label class="control-label">{{i18n "admin.groups.manage.membership.automatic"}}</label>
<label for="automatic_membership">
{{i18n 'admin.groups.manage.membership.automatic_membership_email_domains'}}
{{i18n "admin.groups.manage.membership.automatic_membership_email_domains"}}
</label>
{{list-setting
@@ -23,7 +23,7 @@
checked=model.automatic_membership_retroactive
class="groups-form-automatic-membership-retroactive"}}
{{i18n 'admin.groups.manage.membership.automatic_membership_retroactive'}}
{{i18n "admin.groups.manage.membership.automatic_membership_retroactive"}}
</label>
</div>
@@ -32,7 +32,7 @@
<div class="control-group">
<label class="control-label">{{i18n "admin.groups.manage.membership.effects"}}</label>
<label for="grant_trust_level">{{i18n 'admin.groups.manage.membership.trust_levels_title'}}</label>
<label for="grant_trust_level">{{i18n "admin.groups.manage.membership.trust_levels_title"}}</label>
{{combo-box
name="grant_trust_level"
@@ -47,7 +47,7 @@
checked=model.primary_group
class="groups-form-primary-group"}}
{{i18n 'admin.groups.manage.membership.primary_group'}}
{{i18n "admin.groups.manage.membership.primary_group"}}
</label>
</div>
@@ -62,15 +62,15 @@
checked=model.public_admission
disabled=disablePublicSetting}}
{{i18n 'groups.public_admission'}}
{{i18n "groups.public_admission"}}
</label>
<label>
{{input type='checkbox'
class='group-form-public-exit'
{{input type="checkbox"
class="group-form-public-exit"
checked=model.public_exit}}
{{i18n 'groups.public_exit'}}
{{i18n "groups.public_exit"}}
</label>
<label>
@@ -79,17 +79,17 @@
checked=model.allow_membership_requests
disabled=disableMembershipRequestSetting}}
{{i18n 'groups.allow_membership_requests'}}
{{i18n "groups.allow_membership_requests"}}
</label>
{{#if model.allow_membership_requests}}
<div>
<label for="membership-request-template">
{{i18n 'groups.membership_request_template'}}
{{i18n "groups.membership_request_template"}}
</label>
{{expanding-text-area name="membership-request-template"
class='group-form-membership-request-template input-xxlarge'
class="group-form-membership-request-template input-xxlarge"
value=model.membership_request_template}}
</div>
{{/if}}
@@ -1,7 +1,7 @@
{{#if canEdit}}
{{#if this.currentUser.admin}}
<div class="control-group">
<label class="control-label" for="name">{{i18n 'groups.name'}}</label>
<label class="control-label" for="name">{{i18n "groups.name"}}</label>
{{text-field name="name"
class="input-xxlarge group-form-name"
@@ -13,9 +13,9 @@
{{/if}}
<div class="control-group">
<label class="control-label" for='full_name'>{{i18n 'groups.manage.full_name'}}</label>
<label class="control-label" for="full_name">{{i18n "groups.manage.full_name"}}</label>
{{text-field name='full_name'
{{text-field name="full_name"
class="input-xxlarge group-form-full-name"
value=model.full_name}}
</div>
@@ -23,20 +23,20 @@
{{#if this.currentUser.admin}}
<div class="control-group">
<label class="control-label" for="title">
{{i18n 'admin.groups.default_title'}}
{{i18n "admin.groups.default_title"}}
</label>
{{input value=model.title name="title" class="input-xxlarge"}}
<div class="control-instructions">
{{i18n 'admin.groups.default_title_description'}}
{{i18n "admin.groups.default_title_description"}}
</div>
</div>
{{/if}}
{{/if}}
<div class="control-group">
<label class="control-label" for="bio">{{i18n 'groups.bio'}}</label>
<label class="control-label" for="bio">{{i18n "groups.bio"}}</label>
{{d-editor value=model.bio_raw class="group-form-bio input-xxlarge"}}
</div>
@@ -1,5 +1,5 @@
{{#if showFullName}}
<span class='groups-info-name'>{{group.full_name}}</span>
<span class="groups-info-name">{{group.full_name}}</span>
{{else}}
<span class='groups-info-name'>{{group.displayName}}</span>
<span class="groups-info-name">{{group.displayName}}</span>
{{/if}}
@@ -2,8 +2,8 @@
{{#each items as |item|}}
{{ignored-user-list-item item=item onRemoveIgnoredUser=(action "removeIgnoredUser")}}
{{else}}
{{i18n 'user.user_notifications.ignore_no_users'}}
{{i18n "user.user_notifications.ignore_no_users"}}
{{/each}}
</div>
<div class="instructions">{{i18n 'user.ignored_users_instructions'}}</div>
<div>{{#d-button action=(action "newIgnoredUser") class="btn-default" icon="plus"}}{{i18n 'user.user_notifications.add_ignored_user'}}{{/d-button}}</div>
<div class="instructions">{{i18n "user.ignored_users_instructions"}}</div>
<div>{{#d-button action=(action "newIgnoredUser") class="btn-default" icon="plus"}}{{i18n "user.user_notifications.add_ignored_user"}}{{/d-button}}</div>
@@ -3,7 +3,7 @@
<div class="placeholder-overlay" style={{placeholderStyle}}></div>
{{/if}}
<div class="image-upload-controls">
<label class="btn btn-default pad-left no-text {{if uploading 'disabled'}}">
<label class="btn btn-default pad-left no-text {{if uploading "disabled"}}">
{{d-icon "far-image"}}
<input class="hidden-upload-field" disabled={{uploading}} type="file" accept="image/*">
</label>
@@ -26,7 +26,7 @@
}}
{{/if}}
<span class="btn {{unless uploading 'hidden'}}">{{i18n 'upload_selector.uploading'}} {{uploadProgress}}%</span>
<span class="btn {{unless uploading "hidden"}}">{{i18n "upload_selector.uploading"}} {{uploadProgress}}%</span>
</div>
{{#if imageUrl}}
@@ -3,5 +3,5 @@
<input class="hidden-upload-field" disabled={{uploading}} type="file" accept="image/*" multiple>
</label>
{{#if uploading}}
<span>{{i18n 'upload_selector.uploading'}} {{uploadProgress}}%</span>
<span>{{i18n "upload_selector.uploading"}} {{uploadProgress}}%</span>
{{/if}}
@@ -14,7 +14,7 @@
{{d-button action=(action "copy") class="pull-right no-text" icon="copy"}}
{{/if}}
<h4>{{i18n "ip_lookup.title"}}</h4>
<p class='powered-by'>{{html-safe (i18n "ip_lookup.powered_by")}}</p>
<p class="powered-by">{{html-safe (i18n "ip_lookup.powered_by")}}</p>
<dl>
{{#if location}}
{{#if location.hostname}}
@@ -1,4 +1,4 @@
<div class='topic-poster'>
<div class="topic-poster">
{{#user-link user=topic.lastPosterUser}}
{{avatar topic.lastPosterUser imageSize="large"}}
{{/user-link}}
@@ -10,8 +10,8 @@
groupName=topic.lastPosterGroup.name}}
{{/if}}
</div>
<div class='main-link'>
<div class='top-row'>
<div class="main-link">
<div class="top-row">
{{raw "topic-status" topic=topic}}
{{topic-link topic}}
{{#if topic.featured_link}}
@@ -19,12 +19,12 @@
{{/if}}
{{topic-post-badges newPosts=topic.totalUnread unseen=topic.unseen url=topic.lastUnreadUrl}}
</div>
<div class='bottom-row'>
<div class="bottom-row">
{{category-link topic.category}}
{{discourse-tags topic mode="list"}}
</div>
</div>
<div class='topic-stats'>
<div class="topic-stats">
{{raw "list/posts-count-column" topic=topic tagName="div"}}
<div class="topic-last-activity">
<a href={{topic.lastPostUrl}} title={{topic.bumpedAtTitle}}>{{format-date topic.bumpedAt format="tiny" noTitle="true"}}</a>
@@ -1,5 +1,5 @@
<td class='main-link'>
<div class='topic-inset'>
<td class="main-link">
<div class="topic-inset">
{{raw "topic-status" topic=topic}}
{{topic-link topic}}
{{#if topic.unseen}}
@@ -8,4 +8,4 @@
<span class={{cold-age-class topic.last_posted_at}} title={{raw-date topic.last_posted_at}}>{{format-age topic.last_posted_at}}</span>
</div>
</td>
<td class='num posts'>{{raw "list/post-count-or-badges" topic=topic postBadgesEnabled="true"}}</td>
<td class="num posts">{{raw "list/post-count-or-badges" topic=topic postBadgesEnabled="true"}}</td>
@@ -1 +1 @@
<span class='close'>{{closeIcon}}</span>{{tipReason}}
<span class="close">{{closeIcon}}</span>{{tipReason}}
@@ -1,4 +1,4 @@
<label class='checkbox-label'>
<label class="checkbox-label">
{{input type="checkbox" disabled=disabled checked=checked}}
{{label}}
</label>
@@ -1 +1 @@
{{d-icon "quote-left"}} <span class='quote-label'>{{i18n "post.quote_reply"}}</span>
{{d-icon "quote-left"}} <span class="quote-label">{{i18n "post.quote_reply"}}</span>
@@ -1,9 +1,9 @@
{{#if enabled}}
<div class='reviewable-claimed-topic'>
<div class="reviewable-claimed-topic">
{{#if claimedBy}}
<div class='claimed-by'>
<div class="claimed-by">
{{avatar claimedBy imageSize="small"}}
<span class='claimed-username'>{{claimedBy.username}}</span>
<span class="claimed-username">{{claimedBy.username}}</span>
</div>
{{d-button
icon="times"
@@ -1,7 +1,7 @@
{{#if post}}
<div class='reviewable-conversation-post'>
<div class="reviewable-conversation-post">
{{#if showUsername}}
{{#link-to 'user' post.user class="username"}}@{{post.user.username}}{{/link-to}}
{{#link-to "user" post.user class="username"}}@{{post.user.username}}{{/link-to}}
{{/if}}
{{html-safe post.excerpt}}
</div>
@@ -1,4 +1,4 @@
<div class='names'>
<div class="names">
<span class="username">
{{#if user}}
{{#user-link user=user}}{{user.username}}{{/user-link}}
@@ -1,4 +1,4 @@
<div class='created-by'>
<div class="created-by">
{{#if user}}
{{#user-link user=user}}{{avatar user imageSize="large"}}{{/user-link}}
{{else}}
@@ -1 +1 @@
{{input value=value change=valueChanged class='reviewable-input-text'}}
{{input value=value change=valueChanged class="reviewable-input-text"}}
@@ -1,6 +1,6 @@
{{#if value}}
<div class={{classes}}>
<div class='name'>{{name}}</div>
<div class='value'>{{value}}</div>
<div class="name">{{name}}</div>
<div class="value">{{value}}</div>
</div>
{{/if}}
@@ -1,5 +1,5 @@
<div class='flagged-post-header'>
{{reviewable-topic-link reviewable=reviewable tagName=''}}
<div class="flagged-post-header">
{{reviewable-topic-link reviewable=reviewable tagName=""}}
{{#if hasEdits}}
<a href {{action "showEditHistory"}}
class="has-edits {{historyClass}}"
@@ -9,11 +9,11 @@
{{/if}}
</div>
<div class='post-contents-wrapper'>
{{reviewable-created-by user=reviewable.target_created_by tagName=''}}
<div class='post-contents'>
{{reviewable-post-header reviewable=reviewable createdBy=reviewable.target_created_by tagName=''}}
<div class='post-body'>
<div class="post-contents-wrapper">
{{reviewable-created-by user=reviewable.target_created_by tagName=""}}
<div class="post-contents">
{{reviewable-post-header reviewable=reviewable createdBy=reviewable.target_created_by tagName=""}}
<div class="post-body">
{{#if reviewable.blank_post}}
<p>{{i18n "review.deleted_post"}}</p>
{{else}}
@@ -1,5 +1,5 @@
{{#if filteredHistories}}
<table class='reviewable-histories'>
<table class="reviewable-histories">
<thead>
<tr>
<th colspan="3">{{i18n "review.history.title"}}</th>
@@ -1,34 +1,34 @@
<div class='reviewable-item {{customClass}}' data-reviewable-id={{reviewable.id}}>
<div class='reviewable-meta-data'>
<span class='reviewable-type'>{{reviewable.humanType}}</span>
<div data-reviewable-id={{reviewable.id}} class="reviewable-item {{customClass}}">
<div class="reviewable-meta-data">
<span class="reviewable-type">{{reviewable.humanType}}</span>
{{#if reviewable.reply_count}}
<span class='reply-count'>{{i18n "review.replies" count=reviewable.reply_count}}</span>
<span class="reply-count">{{i18n "review.replies" count=reviewable.reply_count}}</span>
{{/if}}
<span class='created-at'>
{{#link-to 'review.show' reviewable.id}}{{age-with-tooltip reviewable.created_at}}{{/link-to}}
<span class="created-at">
{{#link-to "review.show" reviewable.id}}{{age-with-tooltip reviewable.created_at}}{{/link-to}}
</span>
<span class='status'>
<span class="status">
{{reviewable-status reviewable.status}}
</span>
<a href {{action "explainReviewable" reviewable}} class='explain' title={{i18n "review.explain.why"}}>
<a href {{action "explainReviewable" reviewable}} title={{i18n "review.explain.why"}} class="explain">
{{d-icon "question-circle"}}
</a>
</div>
<div class='reviewable-contents'>
<div class="reviewable-contents">
{{#if editing}}
<div class='editable-fields'>
<div class="editable-fields">
{{#if reviewable.created_by}}
<div class='editable-created-by'>
<div class="editable-created-by">
{{avatar reviewable.created_by imageSize="tiny"}}
{{reviewable-created-by-name user=reviewable.created_by tagName=''}}
{{reviewable-created-by-name user=reviewable.created_by tagName=""}}
</div>
{{/if}}
{{#each reviewable.editable_fields as |f|}}
<div class='editable-field {{dasherize f.id}}'>
<div class="editable-field {{dasherize f.id}}">
{{component (concat "reviewable-field-" f.type)
tagName=''
tagName=""
value=(editable-value reviewable f.id)
tagCategoryId=reviewable.category.id
valueChanged=(action "valueChanged" f.id)
@@ -38,15 +38,15 @@
{{/each}}
</div>
{{else}}
{{#component reviewableComponent reviewable=reviewable tagName=''}}
{{reviewable-scores reviewable=reviewable tagName=''}}
{{#component reviewableComponent reviewable=reviewable tagName=""}}
{{reviewable-scores reviewable=reviewable tagName=""}}
{{/component}}
{{/if}}
</div>
<div class='reviewable-actions'>
<div class="reviewable-actions">
{{#if claimEnabled}}
<div class='claimed-actions'>
<span class='help'>{{html-safe claimHelp}}</span>
<div class="claimed-actions">
<span class="help">{{html-safe claimHelp}}</span>
{{reviewable-claimed-topic topicId=topicId claimedBy=reviewable.claimed_by}}
</div>
{{/if}}
@@ -1,7 +1,7 @@
<div class='reviewable-post-header'>
{{reviewable-created-by-name user=createdBy tagName=''}}
<div class="reviewable-post-header">
{{reviewable-created-by-name user=createdBy tagName=""}}
{{#if reviewable.reply_to_post_number}}
<a href={{concat reviewable.topic_url "/" reviewable.reply_to_post_number}} class='reviewable-reply-to'>
<a href={{concat reviewable.topic_url "/" reviewable.reply_to_post_number}} class="reviewable-reply-to">
{{d-icon "share"}}
<span>{{i18n "review.in_reply_to"}}</span>
</a>
@@ -1,24 +1,24 @@
{{#reviewable-topic-link reviewable=reviewable tagName=''}}
{{#reviewable-topic-link reviewable=reviewable tagName=""}}
<div class="title-text">
{{d-icon "plus-square" title="review.new_topic"}}
{{reviewable.payload.title}}
</div>
{{category-badge reviewable.category}}
{{reviewable-tags tags=reviewable.payload.tags tagName=''}}
{{reviewable-tags tags=reviewable.payload.tags tagName=""}}
{{#if reviewable.payload.via_email}}
<a href {{action "showRawEmail"}} class='show-raw-email'>
<a href {{action "showRawEmail"}} class="show-raw-email">
{{d-icon "far-envelope" title="post.via_email"}}
</a>
{{/if}}
{{/reviewable-topic-link}}
<div class='post-contents-wrapper'>
{{reviewable-created-by user=reviewable.created_by tagName=''}}
<div class="post-contents-wrapper">
{{reviewable-created-by user=reviewable.created_by tagName=""}}
<div class='post-contents'>
{{reviewable-post-header reviewable=reviewable createdBy=reviewable.created_by tagName=''}}
<div class="post-contents">
{{reviewable-post-header reviewable=reviewable createdBy=reviewable.created_by tagName=""}}
<div class='post-body'>
<div class="post-body">
{{cook-text reviewable.payload.raw}}
</div>
@@ -1,5 +1,5 @@
<tr class='reviewable-score'>
<td class='user'>
<tr class="reviewable-score">
<td class="user">
{{#user-link user=rs.user}}
{{avatar rs.user imageSize="tiny"}}
{{rs.user.username}}
@@ -22,7 +22,7 @@
{{d-icon "angle-double-right"}}
</td>
<td class='reviewed-by'>
<td class="reviewed-by">
{{#if rs.reviewed_by}}
{{#user-link user=rs.reviewed_by}}
{{avatar rs.reviewed_by imageSize="tiny"}}
@@ -48,21 +48,21 @@
{{#if rs.reason}}
<tr>
<td colspan='7'>
<div class='reviewable-score-reason'>{{html-safe rs.reason}}</div>
<td colspan="7">
<div class="reviewable-score-reason">{{html-safe rs.reason}}</div>
</td>
</tr>
{{/if}}
{{#if rs.reviewable_conversation}}
<tr>
<td colspan='7'>
<div class='reviewable-conversation'>
<td colspan="7">
<div class="reviewable-conversation">
{{#each rs.reviewable_conversation.conversation_posts as |p index|}}
{{reviewable-conversation-post post=p index=index}}
{{/each}}
<div class='controls'>
<a href={{rs.reviewable_conversation.permalink}} class='btn btn-small'>
<div class="controls">
<a href={{rs.reviewable_conversation.permalink}} class="btn btn-small">
{{i18n "review.conversation.view_full"}}
</a>
</div>
@@ -1,5 +1,5 @@
{{#if reviewable.reviewable_scores}}
<table class='reviewable-scores'>
<table class="reviewable-scores">
<tbody>
{{#each reviewable.reviewable_scores as |rs|}}
{{reviewable-score rs=rs reviewable=reviewable}}
@@ -1,9 +1,9 @@
<div class='post-topic'>
<div class="post-topic">
{{#if reviewable.topic}}
{{topic-status topic=reviewable.topic showPrivateMessageIcon=true}}
<a href={{reviewable.target_url}} class='title-text'>{{reviewable.topic.title}}</a>
<a href={{reviewable.target_url}} class="title-text">{{reviewable.topic.title}}</a>
{{category-badge reviewable.category}}
{{reviewable-tags tags=reviewable.topic_tags tagName=''}}
{{reviewable-tags tags=reviewable.topic_tags tagName=""}}
{{else if (has-block)}}
{{yield}}
{{else}}
@@ -1,8 +1,8 @@
<div class='reviewable-user-info'>
<div class='reviewable-user-fields'>
<div class='reviewable-user-details username'>
<div class='name'>{{i18n "review.user.username"}}</div>
<div class='value'>
<div class="reviewable-user-info">
<div class="reviewable-user-fields">
<div class="reviewable-user-details username">
<div class="name">{{i18n "review.user.username"}}</div>
<div class="value">
{{#if reviewable.link_admin}}
<a href={{get-url (concat "/admin/users/" reviewable.user_id "/" reviewable.payload.username)}}>
{{reviewable.payload.username}}
@@ -13,29 +13,29 @@
</div>
</div>
{{reviewable-field classes='reviewable-user-details name'
name=(i18n 'review.user.name')
{{reviewable-field classes="reviewable-user-details name"
name=(i18n "review.user.name")
value=reviewable.payload.name}}
{{reviewable-field classes='reviewable-user-details email'
name=(i18n 'review.user.email')
{{reviewable-field classes="reviewable-user-details email"
name=(i18n "review.user.email")
value=reviewable.payload.email}}
{{reviewable-field classes='reviewable-user-details bio'
name=(i18n 'review.user.bio')
{{reviewable-field classes="reviewable-user-details bio"
name=(i18n "review.user.bio")
value=reviewable.payload.bio}}
{{#if reviewable.payload.website}}
<div class="reviewable-user-details website">
<div class='name'>{{i18n 'review.user.website'}}</div>
<div class='value'>
<div class="name">{{i18n "review.user.website"}}</div>
<div class="value">
<a href={{reviewable.payload.website}} target="_blank" rel="noopener">{{reviewable.payload.website}}</a>
</div>
</div>
{{/if}}
{{#each userFields as |f|}}
{{reviewable-field classes='reviewable-user-details user-field'
{{reviewable-field classes="reviewable-user-details user-field"
name=f.name
value=f.value}}
{{/each}}
@@ -1,6 +1,6 @@
{{d-button action=action disabled=buttonDisabled label=savingText class="btn-primary save-changes"}}
{{#if saved}}
<span class='saved'>{{i18n 'saved'}}</span>
<span class="saved">{{i18n "saved"}}</span>
{{/if}}
{{yield}}
@@ -1,11 +1,11 @@
{{#if value}}
<span class='score-value'>
<span class='score-number'>{{float value}}</span>
<span class="score-value">
<span class="score-number">{{float value}}</span>
{{#if label}}
<span class='score-value-type' title={{i18n (concat "review.explain." label ".title")}}>
<span title={{i18n (concat "review.explain." label ".title")}} class="score-value-type">
{{i18n (concat "review.explain." label ".name")}}
</span>
{{/if}}
</span>
<span class='op'>+</span>
<span class="op">+</span>
{{/if}}
@@ -66,7 +66,7 @@
<label class="control-label" for="search-in-options">{{i18n "search.advanced.filters.label"}}</label>
<div class="controls">
{{#if currentUser}}
<section class='field'>
<section class="field">
<label>{{input type="checkbox" class="in-title" checked=searchedTerms.special.in.title}} {{i18n "search.advanced.filters.title"}}</label>
<label>{{input type="checkbox" class="in-likes" checked=searchedTerms.special.in.likes}} {{i18n "search.advanced.filters.likes"}}</label>
<label>{{input type="checkbox" class="in-private" checked=searchedTerms.special.in.personal}} {{i18n "search.advanced.filters.private"}}</label>
@@ -119,7 +119,7 @@
<div class="control-group pull-left">
<label class="control-label" for="search-min-post-count">{{i18n "search.advanced.post.count.label"}}</label>
<div class="controls">
{{input type="number" value=searchedTerms.min_post_count class="input-small" id='search-min-post-count'}}
{{input type="number" value=searchedTerms.min_post_count class="input-small" id="search-min-post-count"}}
</div>
</div>
</div>
@@ -5,10 +5,10 @@
id="security-key-authenticate-button"
label="login.security_key_authenticate"
type="button"
class='btn btn-large btn-primary'}}
class="btn btn-large btn-primary"}}
<p>
{{#if otherMethodAllowed}}
<a href="" class="toggle-second-factor-method" {{action "useAnotherMethod"}}>{{ i18n 'login.security_key_alternative' }}</a>
<a href="" class="toggle-second-factor-method" {{action "useAnotherMethod"}}>{{ i18n "login.security_key_alternative" }}</a>
{{/if}}
</p>
</div>
@@ -1,10 +1,10 @@
<div class='shared-draft-controls'>
<div class="shared-draft-controls">
{{#if publishing}}
{{i18n "shared_drafts.publishing"}}
{{else}}
{{html-safe (i18n "shared_drafts.notice" category=topic.category.name)}}
<div class='publish-field'>
<div class="publish-field">
<label>{{i18n "shared_drafts.destination_category"}}</label>
{{category-chooser
value=topic.destination_category_id
@@ -12,7 +12,7 @@
}}
</div>
<div class='publish-field'>
<div class="publish-field">
{{#if validCategory}}
{{d-button
action=(action "publish")
@@ -3,7 +3,7 @@
<br>
<section class="group-tags-list">
<label>{{i18n 'tagging.groups.tags_label'}}</label><br>
<label>{{i18n "tagging.groups.tags_label"}}</label><br>
{{tag-chooser
tags=buffered.tag_names
everyTag=true
@@ -14,7 +14,7 @@
</section>
<section class="parent-tag-section">
<label>{{i18n 'tagging.groups.parent_tag_label'}}</label>
<label>{{i18n "tagging.groups.parent_tag_label"}}</label>
{{tag-chooser
tags=buffered.parent_tag_name
everyTag=true
@@ -22,13 +22,13 @@
allowCreate=true
excludeSynonyms=true
filterPlaceholder="tagging.groups.parent_tag_placeholder"}}
<span class="description">{{i18n 'tagging.groups.parent_tag_description'}}</span>
<span class="description">{{i18n "tagging.groups.parent_tag_description"}}</span>
</section>
<section class="group-one-per-topic">
<label>
{{input type="checkbox" checked=buffered.one_per_topic name="onepertopic"}}
{{i18n 'tagging.groups.one_per_topic_label'}}
{{i18n "tagging.groups.one_per_topic_label"}}
</label>
</section>
@@ -43,7 +43,7 @@
onChange=(action "setPermissions")}}
<label class="radio" for="public-permission">
{{i18n 'tagging.groups.everyone_can_use'}}
{{i18n "tagging.groups.everyone_can_use"}}
</label>
</div>
<div>
@@ -56,7 +56,7 @@
onChange=(action "setPermissions")}}
<label class="radio" for="visible-permission">
{{i18n 'tagging.groups.usable_only_by_staff'}}
{{i18n "tagging.groups.usable_only_by_staff"}}
</label>
</div>
<div>
@@ -69,7 +69,7 @@
onChange=(action "setPermissions")}}
<label class="radio" for="private-permission">
{{i18n 'tagging.groups.visible_only_to_staff'}}
{{i18n "tagging.groups.visible_only_to_staff"}}
</label>
</div>
</section>
@@ -35,7 +35,7 @@
<div>{{html-safe (i18n "tagging.synonyms_description" base_tag_name=tagInfo.name)}}</div>
<div class="tag-list">
{{#each tagInfo.synonyms as |tag|}}
<div class='tag-box'>
<div class="tag-box">
{{discourse-tag tag.id pmOnly=tag.pmOnly tagName="div"}}
{{#if editSynonymsMode}}
<a href {{action "unlinkSynonym" tag}} class="unlink-synonym">
@@ -52,7 +52,7 @@
{{/if}}
{{#if editSynonymsMode}}
<section class="add-synonyms field">
<label for="add-synonyms">{{i18n 'tagging.add_synonyms_label'}}</label>
<label for="add-synonyms">{{i18n "tagging.add_synonyms_label"}}</label>
{{tag-chooser
id="add-synonyms"
tags=newSynonyms
@@ -69,6 +69,6 @@
{{/if}}
{{/if}}
{{#if loading}}
<div>{{i18n 'loading'}}</div>
<div>{{i18n "loading"}}</div>
{{/if}}
</section>
@@ -8,8 +8,8 @@
<h3>{{tagGroupName}}</h3>
{{/if}}
{{#each sortedTags as |tag|}}
<div class='tag-box'>
{{discourse-tag tag.id isPrivateMessage=isPrivateMessage pmOnly=tag.pmOnly tagsForUser=tagsForUser}} {{#if tag.pmOnly}}{{d-icon "far-envelope"}}{{/if}}{{#if tag.totalCount}} <span class='tag-count'>x {{tag.totalCount}}</span>{{/if}}
<div class="tag-box">
{{discourse-tag tag.id isPrivateMessage=isPrivateMessage pmOnly=tag.pmOnly tagsForUser=tagsForUser}} {{#if tag.pmOnly}}{{d-icon "far-envelope"}}{{/if}}{{#if tag.totalCount}} <span class="tag-count">x {{tag.totalCount}}</span>{{/if}}
</div>
{{/each}}
<div class="clearfix"></div>
@@ -1,7 +1,7 @@
{{#d-button action=(action "enterTop") class="full jump-top"}}
{{d-icon 'step-backward'}} {{html-safe topDate}}
{{d-icon "step-backward"}} {{html-safe topDate}}
{{/d-button}}
{{#d-button action=(action "enterBottom") class="full jump-bottom"}}
{{html-safe bottomDate}} {{d-icon 'step-forward'}}
{{html-safe bottomDate}} {{d-icon "step-forward"}}
{{/d-button}}
@@ -1,4 +1,4 @@
<div class='topic-footer-main-buttons'>
<div class="topic-footer-main-buttons">
{{topic-admin-menu-button
topic=topic
openUpwards="true"

Some files were not shown because too many files have changed in this diff Show More