Skip to content

A platform for community discussion. Free, open, simple.

Removing edit button from mobile category list

Krisf97cf1067695
diff --git a/app/assets/javascripts/discourse/templates/mobile/components/categories-only.hbs b/app/assets/javascripts/discourse/templates/mobile/components/categories-only.hbs
index 2bbb007c59f..42b25ef1802 100644
--- a/app/assets/javascripts/discourse/templates/mobile/components/categories-only.hbs
+++ b/app/assets/javascripts/discourse/templates/mobile/components/categories-only.hbs
@@ -48,10 +48,6 @@
<figure title="{{i18n 'week_desc'}}">{{number c.topics_week}} <figcaption>{{i18n 'week'}}</figcaption></figure>
{{/if}}
- {{#if c.can_edit}}
- <a href {{action "editCategory" c}} class='btn btn-default btn-small'>{{i18n 'category.edit'}}</a>
- {{/if}}
-
</footer>
</div>
{{/each}}