DEV: Buttons were missing btn-default classes (#12991)

DEV: Buttons were missing btn-default classes (#12991)

diff --git a/app/assets/javascripts/admin/addon/templates/badges.hbs b/app/assets/javascripts/admin/addon/templates/badges.hbs
index 82d7741..2f3d335 100644
--- a/app/assets/javascripts/admin/addon/templates/badges.hbs
+++ b/app/assets/javascripts/admin/addon/templates/badges.hbs
@@ -7,7 +7,7 @@
         <span>{{i18n "admin.badges.new"}}</span>
       {{/link-to}}
 
-      {{#link-to "adminBadges.award" "new" class="btn"}}
+      {{#link-to "adminBadges.award" "new" class="btn btn-default"}}
         {{d-icon "upload"}}
         <span>{{i18n "admin.badges.mass_award.title"}}</span>
       {{/link-to}}
diff --git a/app/assets/javascripts/admin/addon/templates/components/dashboard-new-features.hbs b/app/assets/javascripts/admin/addon/templates/components/dashboard-new-features.hbs
index 8d7e1c7..74f1a90 100644
--- a/app/assets/javascripts/admin/addon/templates/components/dashboard-new-features.hbs
+++ b/app/assets/javascripts/admin/addon/templates/components/dashboard-new-features.hbs
@@ -14,6 +14,6 @@
         {{i18n "admin.dashboard.new_features.learn_more"}}
       </a>
     {{/if}}
-    {{d-button label="admin.dashboard.new_features.dismiss" class="new-features-dismiss" action=dismissNewFeatures }}
+    {{d-button label="admin.dashboard.new_features.dismiss" class="btn-default new-features-dismiss" action=dismissNewFeatures }}
   </div>
 {{/if}}
diff --git a/app/assets/javascripts/admin/addon/templates/components/tags-uploader.hbs b/app/assets/javascripts/admin/addon/templates/components/tags-uploader.hbs
index 1531feb..4ab018c 100644
--- a/app/assets/javascripts/admin/addon/templates/components/tags-uploader.hbs
+++ b/app/assets/javascripts/admin/addon/templates/components/tags-uploader.hbs
@@ -1,4 +1,4 @@
-<label class="btn {{if addDisabled "disabled"}}">
+<label class="btn btn-default {{if addDisabled "disabled"}}">
   {{d-icon "upload"}}
   {{i18n "admin.watched_words.form.upload"}}
   <input class="hidden-upload-field" disabled={{addDisabled}} type="file" accept="text/plain,text/csv">
diff --git a/app/assets/javascripts/admin/addon/templates/user-index.hbs b/app/assets/javascripts/admin/addon/templates/user-index.hbs
index 8da5083..41da0bf 100644
--- a/app/assets/javascripts/admin/addon/templates/user-index.hbs
+++ b/app/assets/javascripts/admin/addon/templates/user-index.hbs
@@ -189,7 +189,7 @@
         {{i18n "badges.badge_count" count=model.badge_count}}
       </div>
       <div class="controls">
-        {{#link-to "adminUser.badges" model class="btn"}}
+        {{#link-to "adminUser.badges" model class="btn btn-default"}}
           {{d-icon "certificate"}}
           {{i18n "admin.badges.edit_badges"}}
         {{/link-to}}
@@ -316,8 +316,7 @@
         {{model.api_key_count}}
       </div>
       <div class="controls">
-        {{d-button href="/admin/api/keys" label="admin.api.manage_keys"}}
-
+        {{d-button class="btn-default" href="/admin/api/keys" label="admin.api.manage_keys"}}
       </div>
     </div>
   {{/if}}
diff --git a/app/assets/javascripts/discourse/app/templates/badges/show.hbs b/app/assets/javascripts/discourse/app/templates/badges/show.hbs
index 04bed72..cc33f81 100644
--- a/app/assets/javascripts/discourse/app/templates/badges/show.hbs
+++ b/app/assets/javascripts/discourse/app/templates/badges/show.hbs
@@ -52,7 +52,7 @@
       {{#unless canLoadMore}}
         {{#if canShowOthers}}
           <div class="clearfix">
-            <a id="show-others-with-badge-link" href={{model.url}} class="btn">{{i18n "badges.others_count" count=othersCount}}</a>
+            <a id="show-others-with-badge-link" href={{model.url}} class="btn btn-default">{{i18n "badges.others_count" count=othersCount}}</a>
           </div>
         {{/if}}
       {{/unless}}
diff --git a/app/assets/javascripts/discourse/app/templates/components/copy-button.hbs b/app/assets/javascripts/discourse/app/templates/components/copy-button.hbs
index 37971e4..7ec679a 100644
--- a/app/assets/javascripts/discourse/app/templates/components/copy-button.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/copy-button.hbs
@@ -1 +1 @@
-{{d-button icon="copy" action=(action "copy")}}
+{{d-button class="btn-default" icon="copy" action=(action "copy")}}
diff --git a/app/assets/javascripts/discourse/app/templates/components/date-time-input.hbs b/app/assets/javascripts/discourse/app/templates/components/date-time-input.hbs
index 11d9aa4..912e859 100644
--- a/app/assets/javascripts/discourse/app/templates/components/date-time-input.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/date-time-input.hbs
@@ -26,7 +26,7 @@
 
 {{#if clearable}}
   {{d-button
-    class="clear-date-time"
+    class="btn-default clear-date-time"
     icon="times"
     action=(action "onClear")
   }}
diff --git a/app/assets/javascripts/discourse/app/templates/components/group-membership-button.hbs b/app/assets/javascripts/discourse/app/templates/components/group-membership-button.hbs
index ad8d9a2..8f2b835 100644
--- a/app/assets/javascripts/discourse/app/templates/components/group-membership-button.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/group-membership-button.hbs
@@ -1,6 +1,6 @@
 {{#if canJoinGroup}}
   {{d-button action=(action "joinGroup")
-      class="group-index-join"
+      class="btn-default group-index-join"
       icon="user-plus"
       label="groups.join"
       disabled=updatingMembership}}
@@ -12,7 +12,7 @@
       disabled=updatingMembership}}
 {{else if canRequestMembership}}
   {{d-button action=(action "showRequestMembershipForm")
-      class="group-index-request"
+      class="btn-default group-index-request"
       disabled=loading
       icon="user-plus"
       label="groups.request"}}
diff --git a/app/assets/javascripts/discourse/app/templates/components/topic-entrance.hbs b/app/assets/javascripts/discourse/app/templates/components/topic-entrance.hbs
index 9872c06..c6e9c5c 100644
--- a/app/assets/javascripts/discourse/app/templates/components/topic-entrance.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/topic-entrance.hbs
@@ -1,7 +1,7 @@
-{{#d-button action=(action "enterTop") class="full jump-top"}}
+{{#d-button action=(action "enterTop") class="btn-default full jump-top"}}
   {{d-icon "step-backward"}} {{html-safe topDate}}
 {{/d-button}}
 
-{{#d-button action=(action "enterBottom") class="full jump-bottom"}}
+{{#d-button action=(action "enterBottom") class="btn-default full jump-bottom"}}
   {{html-safe bottomDate}} {{d-icon "step-forward"}}
 {{/d-button}}
diff --git a/app/assets/javascripts/discourse/app/templates/group-index.hbs b/app/assets/javascripts/discourse/app/templates/group-index.hbs
index 1f242fb..d5a7770 100644
--- a/app/assets/javascripts/discourse/app/templates/group-index.hbs
+++ b/app/assets/javascripts/discourse/app/templates/group-index.hbs
@@ -14,7 +14,7 @@
         {{d-button icon="plus"
           action=(route-action "showAddMembersModal")
           label="groups.manage.add_members"
-        class="group-members-add"}}
+        class="btn-default group-members-add"}}
       {{/if}}
     </div>
   </div>
diff --git a/app/assets/javascripts/discourse/app/templates/modal/create-invite.hbs b/app/assets/javascripts/discourse/app/templates/modal/create-invite.hbs
index a04ee35..197fe01 100644
--- a/app/assets/javascripts/discourse/app/templates/modal/create-invite.hbs
+++ b/app/assets/javascripts/discourse/app/templates/modal/create-invite.hbs
@@ -134,7 +134,7 @@
   {{#if hasAdvanced}}
     {{d-button
       action=(action "toggleAdvanced")
-      class="show-advanced"
+      class="btn-default show-advanced"
       icon="cog"
       title=(if showAdvanced "user.invited.invite.hide_advanced" "user.invited.invite.show_advanced")
     }}
diff --git a/app/assets/javascripts/discourse/app/templates/preferences/profile.hbs b/app/assets/javascripts/discourse/app/templates/preferences/profile.hbs
index d83d631..9fafb61 100644

[... diff too long, it was truncated ...]

GitHub sha: f002c58a

This commit appears in #12991 which was approved by hnb-ku. It was merged by awesomerobot.