mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Moved offers active/archive filter to view actions bar
This commit is contained in:
parent
2234b04a56
commit
7a26051439
@ -1,16 +1,8 @@
|
||||
<section class="gh-canvas gh-offers">
|
||||
<GhCanvasHeader class="gh-canvas-header">
|
||||
<h2 class="gh-canvas-title" data-test-screen-title>Offers</h2>
|
||||
<section class="view-actions">
|
||||
<LinkTo @route="offer.new" class="gh-btn gh-btn-primary"><span>New offer</span></LinkTo>
|
||||
</section>
|
||||
</GhCanvasHeader>
|
||||
|
||||
<section class="view-container">
|
||||
|
||||
{{#if this.offersExist}}
|
||||
<section class="gh-offers-actions view-actions">
|
||||
<div class="gh-contentfilter view-actions-bottom-row">
|
||||
<div>
|
||||
<div class="gh-contentfilter-menu gh-contentfilter-type {{if this.selectedType.value "gh-contentfilter-selected"}}" data-test-type-select="true">
|
||||
<PowerSelect
|
||||
@selected={{this.selectedType}}
|
||||
@ -27,7 +19,13 @@
|
||||
</PowerSelect>
|
||||
</div>
|
||||
</div>
|
||||
<LinkTo @route="offer.new" class="gh-btn gh-btn-primary"><span>New offer</span></LinkTo>
|
||||
</section>
|
||||
</GhCanvasHeader>
|
||||
|
||||
<section class="view-container">
|
||||
|
||||
{{#if this.offersExist}}
|
||||
<table class="gh-list gh-offers-list">
|
||||
<tr class="gh-list-row header">
|
||||
<th class="gh-list-header">{{this.offersList.length}} offers</th>
|
||||
|
Loading…
Reference in New Issue
Block a user