DEV: Resolve more link-to deprecations for ember upgrade (#193)
This commit is contained in:
parent
51af568c92
commit
de7d8ce497
|
@ -43,7 +43,7 @@
|
|||
</form>
|
||||
{{else}}
|
||||
<p>
|
||||
{{#link-to "adminPlugins.houseAds.show" "new"}}
|
||||
{{#link-to route="adminPlugins.houseAds.show" model="new"}}
|
||||
{{i18n "admin.adplugin.house_ads.get_started"}}
|
||||
{{/link-to}}
|
||||
</p>
|
||||
|
|
|
@ -3,16 +3,18 @@
|
|||
{{#if model.length}}
|
||||
<div class="content-list">
|
||||
<div class="house-ads-actions">
|
||||
{{#link-to
|
||||
route="adminPlugins.houseAds.show" model="new" class="btn btn-primary"
|
||||
}}
|
||||
<LinkTo
|
||||
@route="adminPlugins.houseAds.show"
|
||||
@model="new"
|
||||
class="btn btn-primary"
|
||||
>
|
||||
{{d-icon "plus"}}
|
||||
<span>{{i18n "admin.adplugin.house_ads.new"}}</span>
|
||||
{{/link-to}}
|
||||
{{#link-to route="adminPlugins.houseAds.index" class="btn btn-default"}}
|
||||
</LinkTo>
|
||||
<LinkTo @route="adminPlugins.houseAds.index" class="btn btn-default">
|
||||
{{d-icon "cog"}}
|
||||
<span>{{i18n "admin.adplugin.house_ads.settings"}}</span>
|
||||
{{/link-to}}
|
||||
</LinkTo>
|
||||
</div>
|
||||
<ul class="house-ads-list">
|
||||
{{#each model as |ad|}}
|
||||
|
|
Loading…
Reference in New Issue