Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

buttons: Use snake_case for the button handlebars template filenames.

Sayam Samalc05bfba15191
diff --git a/web/templates/components/action-button.hbs b/web/templates/components/action_button.hbs
similarity index 100%
rename from web/templates/components/action-button.hbs
rename to web/templates/components/action_button.hbs
diff --git a/web/templates/components/banner.hbs b/web/templates/components/banner.hbs
index 4a893280ebc..38995e459d6 100644
--- a/web/templates/components/banner.hbs
+++ b/web/templates/components/banner.hbs
@@ -5,13 +5,13 @@
<span class="banner-action-buttons">
{{#each buttons}}
{{#if this.intent}}
- {{> action-button .}}
+ {{> action_button .}}
{{else}}
- {{> action-button . intent=../intent}}
+ {{> action_button . intent=../intent}}
{{/if}}
{{/each}}
</span>
{{#if close_button}}
- {{> icon-button custom_classes="banner-close-action banner-close-button" icon="close" intent=intent}}
+ {{> icon_button custom_classes="banner-close-action banner-close-button" icon="close" intent=intent}}
{{/if}}
</div>
diff --git a/web/templates/components/icon-button.hbs b/web/templates/components/icon_button.hbs
similarity index 100%
rename from web/templates/components/icon-button.hbs
rename to web/templates/components/icon_button.hbs