diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/html/umbbox/umbboxheader.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/html/umbbox/umbboxheader.directive.js index 4ed1d68e59..bb16edf761 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/html/umbbox/umbboxheader.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/html/umbbox/umbboxheader.directive.js @@ -10,7 +10,7 @@ Use this directive to construct a title. Recommended to use it inside an {@link
-
+
// Content here
@@ -21,7 +21,7 @@ Use this directive to construct a title. Recommended to use it inside an {@link
// the title-key property needs an areaAlias_keyAlias from the language files
-
+
// Content here
@@ -35,8 +35,10 @@ Use this directive to construct a title. Recommended to use it inside an {@link
{@link umbraco.directives.directive:umbBoxContent umbBoxContent}
-@param {string} title (attrbute): Custom title text.
-@param {string} title-key (attrbute): the key alias of the language xml files.
+@param {string=} title (attrbute): Custom title text.
+@param {string=} titleKey (attrbute): The translation key from the language xml files.
+@param {string=} description (attrbute): Custom description text.
+@param {string=} descriptionKey (attrbute): The translation key from the language xml files.
**/
@@ -52,7 +54,9 @@ Use this directive to construct a title. Recommended to use it inside an {@link
templateUrl: 'views/components/html/umb-box/umb-box-header.html',
scope: {
titleKey: "@?",
- title: "@?"
+ title: "@?",
+ descriptionKey: "@?",
+ description: "@?"
}
};
diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-box.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-box.less
index cfbd929a3a..492a257b38 100644
--- a/src/Umbraco.Web.UI.Client/src/less/components/umb-box.less
+++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-box.less
@@ -15,6 +15,13 @@
font-weight: bold;
}
+.umb-box-header-description {
+ font-size: 13px;
+ color: @gray-3;
+ line-height: 1.6em;
+ margin-top: 1px;
+}
+
.umb-box-content {
padding: 20px;
}
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/views/components/html/umb-box/umb-box-header.html b/src/Umbraco.Web.UI.Client/src/views/components/html/umb-box/umb-box-header.html
index 6feffe9d3d..8c59061788 100644
--- a/src/Umbraco.Web.UI.Client/src/views/components/html/umb-box/umb-box-header.html
+++ b/src/Umbraco.Web.UI.Client/src/views/components/html/umb-box/umb-box-header.html
@@ -1,6 +1,10 @@
-
+
{{title}}
+
+
+ {{description}}
+
\ No newline at end of file