diff --git a/Bootstrap.Admin/Content/js/Longbow.Common.js b/Bootstrap.Admin/Content/js/Longbow.Common.js index 2ad60033..e7a46ecc 100644 --- a/Bootstrap.Admin/Content/js/Longbow.Common.js +++ b/Bootstrap.Admin/Content/js/Longbow.Common.js @@ -187,4 +187,6 @@ $(function () { parent.prev('input.hide').val($(this).attr("data-val")); parent.children('button:first').text($(this).text()); }); + + $('.site-footer div span').text($('#footer').val()); }); \ No newline at end of file diff --git a/Bootstrap.Admin/Models/ModelBase.cs b/Bootstrap.Admin/Models/ModelBase.cs index 24a8a391..dd6492bc 100644 --- a/Bootstrap.Admin/Models/ModelBase.cs +++ b/Bootstrap.Admin/Models/ModelBase.cs @@ -1,10 +1,22 @@ -namespace Bootstrap.Admin.Models -{ - /// - /// - /// - public class ModelBase - { - - } +using Bootstrap.DataAccess; + +namespace Bootstrap.Admin.Models +{ + /// + /// + /// + public class ModelBase + { + public ModelBase() + { + Title = DictHelper.RetrieveWebTitle(); + Footer = DictHelper.RetrieveWebFooter(); + } + /// + /// + /// + public string Title { get; set; } + + public string Footer { get; set; } + } } \ No newline at end of file diff --git a/Bootstrap.Admin/Views/Shared/Footer.cshtml b/Bootstrap.Admin/Views/Shared/Footer.cshtml index d7002b32..89481557 100644 --- a/Bootstrap.Admin/Views/Shared/Footer.cshtml +++ b/Bootstrap.Admin/Views/Shared/Footer.cshtml @@ -1,7 +1,7 @@