chore: 🤖 Integrate rose link button in admin/ui

Replace "New" projects and host catalog link with rose link-button
component
This commit is contained in:
Susmitha Girumala committed 2020-06-16 14:39:42 -04:00
1 parent e092ac54f6
commit 9563d82dcc
5 files changed
+5 -8

No files matched your search

@@ -1,7 +1,6 @@
<LinkTo
...attributes
@route={{@route}}
@model={{@model}}
class="rose-link-button {{if @style (concat "rose-button-" @style)}} {{if @iconLeft "has-icon-left"}} {{if @iconRight "has-icon-right"}} {{if @iconOnly "has-icon-only"}}"
>
@@ -9,7 +9,7 @@
</page.header>
<page.actions>
<LinkTo @route="orgs.org.projects.new">{{t 'titles.new'}}</LinkTo>
<Rose::LinkButton @route="orgs.org.projects.new" @style="primary">{{t 'titles.new'}}</Rose::LinkButton>
</page.actions>
<page.body>
@@ -14,7 +14,7 @@
@submit={{route-action "save" @model}}
@cancel={{route-action "cancel" @model}}
/>
<Rose::Separator />
<Rose::Button
@style="warning"
@disabled={{@model.canSave}}
@@ -9,11 +9,9 @@
</page.header>
<page.actions>
<LinkTo
@route="orgs.org.projects.project.host-catalogs.new"
>
<Rose::LinkButton @route="orgs.org.projects.project.host-catalogs.new" @style="primary">
{{t 'titles.new'}}
</LinkTo>
</Rose::LinkButton>
</page.actions>
<page.body>
@@ -22,7 +22,7 @@
@submit={{route-action "save" @model}}
@cancel={{route-action "cancel" @model}}
/>
<Rose::Separator />
<Rose::Button
@style="warning"
@disabled={{@model.canSave}}