Skip to content

Commit

Permalink
Add version to configuration dashboard (CO-2450)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Jul 18, 2022
1 parent 58fa0fd commit 6162229
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/resources/locales/en_US/default.po
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ msgstr "Available Collaborations"

msgid "registry.home.welcome"
msgstr "Welcome to {0}."

msgid "registry.version"
msgstr "COmanage Registry v{0}"
4 changes: 3 additions & 1 deletion app/templates/Dashboards/configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@
</li>
<?php endforeach; // $vv_configuration_menu_items ?>
</ul>
</section>
</section>

<?php print __('registry.version', chop(file_get_contents(CONFIG . "VERSION"))); ?>

0 comments on commit 6162229

Please sign in to comment.