rm dup title; use nav items

This commit is contained in:
Rimian Perkins 2019-10-08 12:17:47 +11:00
parent 6fd1638a15
commit 99abd87c73
2 changed files with 3 additions and 17 deletions

View File

@ -1,6 +1,4 @@
<h3>{{i18n 'discourse_patrons.admin.plans.title'}}</h3>
{{#link-to 'adminPlugins.discourse-patrons.plans.show' 'new' class="btn btn-primary"}}
{{d-icon "plus"}}
<span>{{i18n 'discourse_patrons.admin.plans.new'}}</span>

View File

@ -2,21 +2,9 @@
<h2>{{i18n 'discourse_patrons.title' site_name=siteSettings.title}}</h2>
<ul class="nav nav-pills">
<li>
{{#link-to 'adminPlugins.discourse-patrons'}}
{{i18n 'discourse_patrons.admin.dashboard.title'}}
{{/link-to}}
</li>
<li>
{{#link-to 'adminPlugins.discourse-patrons.plans'}}
{{i18n 'discourse_patrons.admin.plans.title'}}
{{/link-to}}
</li>
<li>
{{#link-to 'adminPlugins.discourse-patrons.subscriptions'}}
{{i18n 'discourse_patrons.admin.subscriptions.title'}}
{{/link-to}}
</li>
{{nav-item route='adminPlugins.discourse-patrons' label='discourse_patrons.admin.dashboard.title'}}
{{nav-item route='adminPlugins.discourse-patrons.plans' label='discourse_patrons.admin.plans.title'}}
{{nav-item route='adminPlugins.discourse-patrons.subscriptions' label='discourse_patrons.admin.subscriptions.title'}}
</ul>
<hr>