mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Merge pull request #11004 from dacook/show-current-version
Show current version at bottom of admin dashboard
This commit is contained in:
3
app/views/spree/admin/overview/_version.html.haml
Normal file
3
app/views/spree/admin/overview/_version.html.haml
Normal file
@@ -0,0 +1,3 @@
|
||||
%a{href:"https://github.com/openfoodfoundation/openfoodnetwork/releases", target: "_blank", title: t('.view_all_releases')}
|
||||
=# Show the latest tag. If there are commits since the tag, show number of commits and an identifier. If the working tree is dirty, show 'modified'.
|
||||
= `git describe --tags --dirty=-modified`
|
||||
@@ -22,3 +22,5 @@
|
||||
= render partial: "order_cycles"
|
||||
|
||||
= render partial: "enterprises"
|
||||
|
||||
= render partial: "version"
|
||||
|
||||
@@ -81,3 +81,5 @@
|
||||
%a.button.bottom{href: main_app.admin_order_cycles_path}
|
||||
= t "manage_order_cycles"
|
||||
%span.icon-arrow-right
|
||||
|
||||
= render partial: "version"
|
||||
|
||||
@@ -4096,6 +4096,8 @@ See the %{link} to find out more about %{sitename}'s features and to start using
|
||||
many: "You have %{count} active order cycles."
|
||||
other: "You have %{count} active order cycles."
|
||||
manage_order_cycles: "MANAGE ORDER CYCLES"
|
||||
version:
|
||||
view_all_releases: View all releases
|
||||
shipping_methods:
|
||||
index:
|
||||
shipping_methods: "Shipping Methods"
|
||||
|
||||
Reference in New Issue
Block a user