add build numbers

This commit is contained in:
Zachary Chai
2016-12-02 12:27:33 -05:00
parent 98a8cdbd2a
commit 76316b96ec
6 changed files with 12 additions and 3 deletions

View File

@ -42,4 +42,10 @@ module ApplicationHelper
providers
end
end
def version
Greenlight::VERSION
rescue
'development'
end
end

View File

@ -71,7 +71,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<!-- Footer -->
<div class='footer text-center'>
<%= t('powered_bigbluebutton_html', link: link_to('BigBlueButton', 'http://bigbluebutton.org/', target: "_blank")) %>
<%= t('footer_html', greenlight_link: link_to('Greenlight', 'https://github.com/bigbluebutton/greenlight', target: "_blank"), version: version, bbb_link: link_to('BigBlueButton', 'http://bigbluebutton.org/', target: "_blank")) %>
</div>
<!-- End of Footer -->
</body>