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