Make price visible
This commit is contained in:
@@ -38,6 +38,17 @@
|
|||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<%= if @item.price do %>
|
||||||
|
<div>
|
||||||
|
<div class="text-sm opacity-60">
|
||||||
|
Price:
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
~£<%= @item.price %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<.button>
|
<.button>
|
||||||
<.link class="block h-full w-full" href={@item.url} target="_blank">
|
<.link class="block h-full w-full" href={@item.url} target="_blank">
|
||||||
Go to seller <.icon name="hero-arrow-right" />
|
Go to seller <.icon name="hero-arrow-right" />
|
||||||
|
|||||||
@@ -57,6 +57,16 @@
|
|||||||
<.dropdown item={item} />
|
<.dropdown item={item} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<%= if item.price do %>
|
||||||
|
<div>
|
||||||
|
<div class="text-sm opacity-60">
|
||||||
|
Price:
|
||||||
|
</div>
|
||||||
|
<div class="text-sm">
|
||||||
|
~£<%= item.price %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
<div>
|
<div>
|
||||||
<div class="text-sm opacity-60">
|
<div class="text-sm opacity-60">
|
||||||
Priority:
|
Priority:
|
||||||
@@ -106,6 +116,16 @@
|
|||||||
/>
|
/>
|
||||||
<.dropdown item={item} />
|
<.dropdown item={item} />
|
||||||
</div>
|
</div>
|
||||||
|
<%= if item.price do %>
|
||||||
|
<div class="col-span-3">
|
||||||
|
<div class="text-sm opacity-60">
|
||||||
|
Price:
|
||||||
|
</div>
|
||||||
|
<div class="text-sm">
|
||||||
|
~£<%= item.price %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
<%= if item.description do %>
|
<%= if item.description do %>
|
||||||
<div class="col-span-3 w-full">
|
<div class="col-span-3 w-full">
|
||||||
<div class="text-sm opacity-60">
|
<div class="text-sm opacity-60">
|
||||||
|
|||||||
Reference in New Issue
Block a user