diff --git a/src/Umbraco.Core/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs b/src/Umbraco.Core/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
index 8b8550b694..4e9417c760 100644
--- a/src/Umbraco.Core/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
+++ b/src/Umbraco.Core/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
@@ -134,7 +134,8 @@ namespace Umbraco.Core.Persistence.SqlSyntax
using (var reader = command.ExecuteReader())
{
reader.Read();
- version = new ServerVersionInfo(reader.GetString(0), reader.GetString(2), reader.GetString(3), (EngineEdition) reader.GetInt32(5), reader.GetString(7), reader.GetString(9));
+ // InstanceName can be NULL for the default instance
+ version = new ServerVersionInfo(reader.GetString(0), reader.GetString(2), reader.IsDBNull(3) ? "(default)" : reader.GetString(3), (EngineEdition) reader.GetInt32(5), reader.GetString(7), reader.GetString(9));
}
connection.Close();
}
diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/member/umbmembergroupnodeinfo.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/member/umbmembergroupnodeinfo.directive.js
new file mode 100644
index 0000000000..10e1291731
--- /dev/null
+++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/member/umbmembergroupnodeinfo.directive.js
@@ -0,0 +1,58 @@
+(function () {
+ 'use strict';
+
+ function MemberGroupNodeInfoDirective(eventsService, userService, dateHelper) {
+
+ function link(scope, element, attrs, ctrl) {
+
+ var evts = [];
+
+ function onInit() {
+
+ // make sure dates are formatted to the user's locale
+ formatDatesToLocal();
+ }
+
+ function formatDatesToLocal() {
+ // get current backoffice user and format dates
+ userService.getCurrentUser().then(function (currentUser) {
+ scope.node.createDateFormatted = dateHelper.getLocalDate(scope.node.createDate, currentUser.locale, 'LLL');
+ scope.node.updateDateFormatted = dateHelper.getLocalDate(scope.node.updateDate, currentUser.locale, 'LLL');
+ });
+ }
+
+ // watch for content updates - reload content when node is saved, published etc.
+ scope.$watch('node.updateDate', function(newValue, oldValue){
+ if(!newValue) { return; }
+ if(newValue === oldValue) { return; }
+
+ // Update the create and update dates
+ formatDatesToLocal();
+ });
+
+ //ensure to unregister from all events!
+ scope.$on('$destroy', function () {
+ for (var e in evts) {
+ eventsService.unsubscribe(evts[e]);
+ }
+ });
+
+ onInit();
+ }
+
+ var directive = {
+ restrict: 'E',
+ replace: true,
+ templateUrl: 'views/components/member/umb-membergroup-node-info.html',
+ scope: {
+ node: "="
+ },
+ link: link
+ };
+
+ return directive;
+ }
+
+ angular.module('umbraco.directives').directive('umbMembergroupNodeInfo', MemberGroupNodeInfoDirective);
+
+})();
diff --git a/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html b/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html
index 0e777a5b9f..f38bb78929 100644
--- a/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html
+++ b/src/Umbraco.Web.UI.Client/src/views/common/drawers/help/help.html
@@ -8,7 +8,7 @@
Tours
@@ -47,72 +47,71 @@
{{property.caption}}
-
- {{property.caption}}
+
Articles
- Videos
-
-
-
+
+