mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-04 22:51:04 -05:00
fix mobile display
This commit is contained in:
@@ -7,10 +7,5 @@
|
||||
%strong
|
||||
= link_to harvest.crop, harvest
|
||||
%span.badge.badge-pill= harvest.plant_part
|
||||
- if harvest.planting.present?
|
||||
%p.card-text
|
||||
%small.text-muted
|
||||
Harvested from
|
||||
= link_to harvest.planting, harvest.planting
|
||||
.card-footer
|
||||
.float-right=render 'members/tiny', member: harvest.owner
|
||||
@@ -14,7 +14,7 @@
|
||||
#{ENV['GROWSTUFF_SITE_NAME']} helps you track what you're
|
||||
harvesting from your home garden and see how productive it is.
|
||||
.row
|
||||
.col-2
|
||||
.col-md-2
|
||||
= render 'layouts/nav', model: Harvest
|
||||
- if @owner
|
||||
= render @owner
|
||||
@@ -27,7 +27,7 @@
|
||||
= icon 'fas', format.to_s
|
||||
= format.upcase
|
||||
.badge.badge-success= link_to 'API Methods', '/api-docs'
|
||||
.col-10
|
||||
.col-md-10
|
||||
%section
|
||||
%h2
|
||||
= page_entries_info @harvests
|
||||
|
||||
@@ -22,3 +22,5 @@
|
||||
%h4= planting.crop
|
||||
.text-center= render 'plantings/badges', planting: planting
|
||||
= render 'plantings/progress', planting: planting
|
||||
.card-footer
|
||||
.float-right=render 'members/tiny', member: planting.owner
|
||||
@@ -12,7 +12,7 @@
|
||||
= title('plantings', @owner, @crop, @planting)
|
||||
|
||||
.row
|
||||
.col-2
|
||||
.col-md-2
|
||||
= render 'layouts/nav', model: Planting
|
||||
%hr/
|
||||
= link_to show_inactive_tickbox_path('plantings', owner: @owner, crop: @crop, show_all: @show_all) do
|
||||
@@ -34,7 +34,7 @@
|
||||
= format.upcase
|
||||
.badge.badge-success= link_to 'API Methods', '/api-docs'
|
||||
|
||||
.col-10
|
||||
.col-md-10
|
||||
|
||||
%section
|
||||
%h2= page_entries_info @plantings
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
= title('seeds', @owner, @crop, @planting)
|
||||
|
||||
.row
|
||||
.col-2
|
||||
.col-md-2
|
||||
= render 'layouts/nav', model: Seed
|
||||
%hr/
|
||||
= link_to show_inactive_tickbox_path('seeds', owner: @owner, crop: @crop, show_all: @show_all) do
|
||||
@@ -32,7 +32,7 @@
|
||||
= icon 'fas', format.to_s
|
||||
= format.upcase
|
||||
.badge.badge-success= link_to 'API Methods', '/api-docs'
|
||||
.col-10
|
||||
.col-md-10
|
||||
%section
|
||||
%h2= page_entries_info @seeds
|
||||
= will_paginate @seeds
|
||||
|
||||
Reference in New Issue
Block a user