From 605cf969232e04e8e172efe412e18a87aea2d21c Mon Sep 17 00:00:00 2001 From: Jeff Atwood <jatwood@discourse.org> Date: Sat, 17 May 2014 01:27:12 -0700 Subject: [PATCH] add some glyphs to new buttons --- app/assets/javascripts/admin/templates/badges.js.handlebars | 2 +- .../admin/templates/customize_colors.js.handlebars | 2 +- .../admin/templates/customize_css_html.js.handlebars | 2 +- app/assets/javascripts/admin/templates/groups.js.handlebars | 4 ++-- config/locales/client.en.yml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/admin/templates/badges.js.handlebars b/app/assets/javascripts/admin/templates/badges.js.handlebars index dc34984a1..1ecdfe977 100644 --- a/app/assets/javascripts/admin/templates/badges.js.handlebars +++ b/app/assets/javascripts/admin/templates/badges.js.handlebars @@ -14,7 +14,7 @@ </li> {{/each}} </ul> - <button {{action newBadge}} class='btn'>{{i18n admin.badges.new}}</button> + <button {{action newBadge}} class='btn'><i class="fa fa-plus"></i>{{i18n admin.badges.new}}</button> </div> {{#if selectedItem}} diff --git a/app/assets/javascripts/admin/templates/customize_colors.js.handlebars b/app/assets/javascripts/admin/templates/customize_colors.js.handlebars index 0ff3147d8..006dde6fc 100644 --- a/app/assets/javascripts/admin/templates/customize_colors.js.handlebars +++ b/app/assets/javascripts/admin/templates/customize_colors.js.handlebars @@ -7,7 +7,7 @@ {{/unless}} {{/each}} </ul> - <button {{action newColorScheme}} class='btn'>{{i18n admin.customize.new}}</button> + <button {{action newColorScheme}} class='btn'><i class="fa fa-plus"></i>{{i18n admin.customize.new}}</button> </div> {{#if selectedItem}} diff --git a/app/assets/javascripts/admin/templates/customize_css_html.js.handlebars b/app/assets/javascripts/admin/templates/customize_css_html.js.handlebars index 5042cfa00..db0cb92bd 100644 --- a/app/assets/javascripts/admin/templates/customize_css_html.js.handlebars +++ b/app/assets/javascripts/admin/templates/customize_css_html.js.handlebars @@ -5,7 +5,7 @@ <li><a {{action selectStyle this}} {{bind-attr class="this.selected:active"}}>{{this.description}}</a></li> {{/each}} </ul> - <button {{action newCustomization}} class='btn'>{{i18n admin.customize.new}}</button> + <button {{action newCustomization}} class='btn'><i class="fa fa-plus"></i>{{i18n admin.customize.new}}</button> </div> diff --git a/app/assets/javascripts/admin/templates/groups.js.handlebars b/app/assets/javascripts/admin/templates/groups.js.handlebars index fcab66293..82cde250f 100644 --- a/app/assets/javascripts/admin/templates/groups.js.handlebars +++ b/app/assets/javascripts/admin/templates/groups.js.handlebars @@ -9,8 +9,8 @@ {{/each}} </ul> <div class='controls'> - <button class='btn' {{bind-attr disabled="refreshingAutoGroups"}} {{action "refreshAutoGroups"}}>{{i18n admin.groups.refresh}}</button> - <button class='btn' {{action newGroup}}>{{i18n admin.groups.new}}</button> + <button class='btn' {{bind-attr disabled="refreshingAutoGroups"}} {{action "refreshAutoGroups"}}><i class="fa fa-refresh"></i>{{i18n admin.groups.refresh}}</button> + <button class='btn' {{action newGroup}}><i class="fa fa-plus"></i>{{i18n admin.groups.new}}</button> </div> </div> diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index ea8277c47..0d38bdc93 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1457,7 +1457,7 @@ en: new_style: "New Style" delete: "Delete" delete_confirm: "Delete this customization?" - about: "Site Customization allow you to modify stylesheets and headers on the site. Choose or add one to start editing." + about: "Modify CSS stylesheets and HTML headers on the site. Add one to start." color: "Color" opacity: "Opacity" copy: "Copy" @@ -1467,7 +1467,7 @@ en: colors: title: "Colors" long_title: "Color Schemes" - about: "Color schemes allow you to modify the colors used on the site without writing CSS. Choose or add one to start." + about: "Modify the colors used on the site without writing CSS. Add one to start." new_name: "New Color Scheme" copy_name_prefix: "Copy of" delete_confirm: "Delete this color scheme?"