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