Merge pull request #2849 from sbwalker/dev

ability to specify PageTemplates for modules
This commit is contained in:
Shaun Walker
2023-05-30 15:52:42 -04:00
committed by GitHub
13 changed files with 366 additions and 165 deletions

View File

@ -52,7 +52,13 @@
<input id="sitemap" class="form-control" @bind="@_sitemap" required disabled />
</div>
</div>
</div>
<div class="row mb-1 align-items-center">
<Label Class="col-sm-3" For="version" HelpText="The site version (for site content migrations)" ResourceKey="Version">Version: </Label>
<div class="col-sm-9">
<input id="version" class="form-control" @bind="@_version" required disabled />
</div>
</div>
</div>
<br />
<Section Name="Appearance" ResourceKey="Appearance">
<div class="container">
@ -345,6 +351,7 @@
private string _homepageid = "-";
private string _isdeleted;
private string _sitemap = "";
private string _version = "";
private int _logofileid = -1;
private FileManager _logofilemanager;
private int _faviconfileid = -1;
@ -402,6 +409,7 @@
}
_isdeleted = site.IsDeleted.ToString();
_sitemap = PageState.Alias.Protocol + PageState.Alias.Name + "/pages/sitemap.xml";
_version = site.Version;
// appearance
if (site.LogoFileId != null)

View File

@ -375,4 +375,10 @@
<data name="SMTPEnabled.Text" xml:space="preserve">
<value>Enabled?</value>
</data>
<data name="Version.HelpText" xml:space="preserve">
<value>The site version (for site content migrations)</value>
</data>
<data name="Version.Text" xml:space="preserve">
<value>Version:</value>
</data>
</root>