Fix some bad HTML

This commit is contained in:
riking 2014-03-18 18:26:23 -07:00
parent 2ade638d79
commit a871158c80
4 changed files with 6 additions and 4 deletions

View file

@ -12,6 +12,7 @@
<div class='controls'>
<label class='radio'>
<input type='radio' id="choose-topic-{{unbound id}}" name='choose_topic_id' {{action chooseTopic this target="view"}}>{{title}}
</label>
</div>
{{/each}}
</ul>

View file

@ -7,9 +7,9 @@
</a>
{{else}}
{{#if noSubcategories}}
<a href='#' {{action expand}} class='badge-category home' {{bind-attr style="badgeStyle"}}>{{i18n categories.no_subcategory}}</i></a>
<a href='#' {{action expand}} class='badge-category home' {{bind-attr style="badgeStyle"}}>{{i18n categories.no_subcategory}}</a>
{{else}}
<a href='#' {{action expand}} class='badge-category home' {{bind-attr style="badgeStyle"}}>{{allCategoriesLabel}}</i></a>
<a href='#' {{action expand}} class='badge-category home' {{bind-attr style="badgeStyle"}}>{{allCategoriesLabel}}</a>
{{/if}}
{{/if}}

View file

@ -1,5 +1,5 @@
<a href='#' {{action closeMessage this}} class='close'><i class='fa fa-times-circle'></i></a>
<h3>{{i18n composer.similar_topics}}<h3>
<h3>{{i18n composer.similar_topics}}</h3>
<ul class='topics'>
{{#each similarTopics}}

View file

@ -207,7 +207,8 @@ Discourse.PostMenuView = Discourse.View.extend({
}
buffer.push("<button title=\"" + tooltip +
"\" data-action=\"bookmark\" class='bookmark'><div class='" + iconClass +
"\" data-action=\"bookmark\" class='" + buttonClass +
"'><div class='" + iconClass +
"'></div></button>");
},