Adds version to about/more and API (#2181)
* Adds version. * Cleans up code. * Removes standalone endpoint and adds version to instance endpoint. * Addresses feedback from #2181.
This commit is contained in:
parent
25d2853db2
commit
a0ed88a99b
7 changed files with 17 additions and 0 deletions
4
app/views/about/_version.html.haml
Normal file
4
app/views/about/_version.html.haml
Normal file
|
@ -0,0 +1,4 @@
|
|||
.panel
|
||||
.panel-header= t 'about.version'
|
||||
.panel-body
|
||||
%strong= version.version_number
|
|
@ -30,3 +30,4 @@
|
|||
.sidebar
|
||||
= render 'contact', contact: @instance_presenter
|
||||
= render 'links'
|
||||
= render 'version', version: @instance_presenter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue