From 8b4de3ddc71474f4036e6e7c5cb69d3154c24896 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Thu, 27 Jul 2023 15:41:54 +0200 Subject: [PATCH] Add version into its own `.row .columns` with centered text --- app/views/spree/admin/overview/_version.html.haml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/spree/admin/overview/_version.html.haml b/app/views/spree/admin/overview/_version.html.haml index d9f5076ddc..20716a25b8 100644 --- a/app/views/spree/admin/overview/_version.html.haml +++ b/app/views/spree/admin/overview/_version.html.haml @@ -1,3 +1,5 @@ -%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'. - = Rails.application.config.x.git_version +.row + .sixteen.columns{ style: "text-align: center;" } + %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'. + = Rails.application.config.x.git_version