mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
With generic link to the releases page. We could provide a link to latest tag with `git describe --tags --abbrev=0`. But I thought it better to keep things simple.
27 lines
496 B
Plaintext
27 lines
496 B
Plaintext
- content_for :page_actions do
|
|
= render 'admin/shared/user_guide_link'
|
|
|
|
|
|
%div{ 'ng-app' => 'ofn.admin' }
|
|
%h1{ :style => 'margin-bottom: 30px' }
|
|
= t 'dashboard'
|
|
|
|
- if @enterprises.empty?
|
|
|
|
= render partial: "enterprises"
|
|
|
|
- else
|
|
|
|
- if can? :admin, Spree::Product
|
|
= render partial: "products"
|
|
|
|
%div.two.columns
|
|
|
|
|
|
- if can? :admin, OrderCycle
|
|
= render partial: "order_cycles"
|
|
|
|
= render partial: "enterprises"
|
|
|
|
= render partial: "version"
|