Fixed application version ID + link

Fixed the display of application version in /gamma, and added a link to the specific code version on GitHub
This commit is contained in:
Clipperz 2013-01-09 11:06:20 +01:00
parent 33e6f0ae77
commit 813c3245ee
4 changed files with 6 additions and 5 deletions

View File

@ -83,11 +83,11 @@ Clipperz_normalizedNewLine = '\x0d\x0a';
</div>
</div>
<div id="footer">
Copyright &copy; 2008 Clipperz Srl -
Copyright &copy; 2008-2013 Clipperz Srl -
<a href="http://www.clipperz.com/terms_of_service" target="black">Terms of service</a> -
<a href="http://www.clipperz.com/privacy_policy" target="black">Privacy policy</a>
&nbsp;-&nbsp;
Application version: @application.version@
Application version: <a href="https://github.com/clipperz/password-manager/tree/@application.version@" target="github">@application.version@</a>
</div>
<div id="recordDetailEditModeHeaderMask"></div>

View File

@ -16,6 +16,7 @@
Clipperz_IEisBroken = false;
Clipperz_normalizedNewLine = '\n';
Clipperz_dumpUrl = "/../dump/";
Clipperz_version = "@application.version@";
"use strict";
</script>

View File

@ -49,12 +49,11 @@ Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Co
this.append(this.element(), [
{tag:'div', cls:'footerWrapper', children:[
{tag:'div', cls:'footerContent', children:[
// {tag:'div', cls:'footerStarIcon'},
{tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'},
{tag:'span', cls:'copyright', html:'Copyright &copy; 2009-2012 Clipperz Srl'},
{tag:'span', cls:'copyright', html:'Copyright &copy; 2009-2013 Clipperz Srl'},
{tag:'a', href:'http://www.clipperz.com/terms_of_service', target:'_blank', html:'terms of service'},
{tag:'a', href:'http://www.clipperz.com/privacy_policy', target:'_blank', html:'privacy policy'},
{tag:'span', cls:'applicationVersion', html:'application version: [1992]'}
{tag:'span', cls:'applicationVersion', htmlString:'application version: [<a href="https://github.com/clipperz/password-manager/tree/' + Clipperz_version + '" target="github">' + Clipperz_version + '</a>]'}
]}
]}
]);

View File

@ -39,6 +39,7 @@ refer to http://www.clipperz.com.
Clipperz_IEisBroken = false;
Clipperz_normalizedNewLine = '\n';
Clipperz_dumpUrl = "/dump/";
Clipperz_version = ">>> hg:28fe087a9316 <<<";
</script>
<!--[if IE]><script>