It is now possible to see the version on the general page of the preferences window

pull/24/head
Alexandre Cloutier 2014-03-10 14:45:10 -04:00
parent 31ace947cb
commit 8cc352fb28
2 changed files with 11 additions and 0 deletions

View File

@ -46,6 +46,7 @@
#import <SOGo/SOGoSystemDefaults.h>
#import <SOGo/SOGoUserFolder.h>
#import <SOGo/WOResourceManager+SOGo.h>
#import <SOGo/SOGoBuild.h>
#import <Mailer/SOGoMailAccount.h>
#import <Mailer/SOGoMailAccounts.h>
#import <Mailer/SOGoMailLabel.h>
@ -1137,6 +1138,14 @@ static NSArray *reminderValues = nil;
}
}
- (NSString *) sogoVersion
{
NSString *sogoVersion = [NSString stringWithString: SOGoVersion];
return sogoVersion;
}
- (id <WOActionResults>) defaultAction
{
id <WOActionResults> results;

View File

@ -158,6 +158,8 @@
const:id="defaultModule"
const:name="defaultModule"
string="itemModuleText" selection="userDefaultModule"/></dd>
<dt><var:string label:value="SOGo version :"/></dt>
<dd><var:string value="sogoVersion"/></dd>
</dl>
</div>
<var:if condition="userHasCalendarAccess">