diff --git a/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads-index.hbs b/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads-index.hbs index 14cdda0..af207a2 100644 --- a/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads-index.hbs +++ b/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads-index.hbs @@ -43,7 +43,7 @@ {{else}}

- {{#link-to "adminPlugins.houseAds.show" "new"}} + {{#link-to route="adminPlugins.houseAds.show" model="new"}} {{i18n "admin.adplugin.house_ads.get_started"}} {{/link-to}}

diff --git a/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads.hbs b/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads.hbs index 6427304..47aa537 100644 --- a/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads.hbs +++ b/admin/assets/javascripts/discourse/templates/admin/plugins-house-ads.hbs @@ -3,16 +3,18 @@ {{#if model.length}}
- {{#link-to - route="adminPlugins.houseAds.show" model="new" class="btn btn-primary" - }} + {{d-icon "plus"}} {{i18n "admin.adplugin.house_ads.new"}} - {{/link-to}} - {{#link-to route="adminPlugins.houseAds.index" class="btn btn-default"}} + + {{d-icon "cog"}} {{i18n "admin.adplugin.house_ads.settings"}} - {{/link-to}} +