mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Daten reload change
This commit is contained in:
@@ -1,6 +1,30 @@
|
||||
@inject IHaDocumentWrappper HaDocumentWrappper
|
||||
@inject IXMLFileProvider XMLFileProvider
|
||||
@{
|
||||
ViewData["Title"] = "Johan Georg Hamann – Brief- und Werkausgabe";
|
||||
ViewData["SEODescription"] = "Johann Georg Hamann: Kommentierte Edition der Werke und Briefe. Herausgegeben von Janina Reibold und Leonard Keidel.";
|
||||
|
||||
var lib = HaDocumentWrappper.GetLibrary();
|
||||
var last = lib.MetasByDate.Last();
|
||||
var ZH = last.ZH;
|
||||
if (ZH == null)
|
||||
{
|
||||
ZH = lib.MetasByDate.TakeLast(2).First().ZH;
|
||||
}
|
||||
|
||||
var marg = lib.Marginals.OrderBy(x => {
|
||||
int m;
|
||||
if (int.TryParse(x.Key, out m))
|
||||
{
|
||||
return m;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}).Last().Value.First();
|
||||
var lastCommented = lib.Metas[marg.Letter];
|
||||
var gS = XMLFileProvider.GetGitState();
|
||||
}
|
||||
|
||||
<div class="ha-static pt-4 md:pt-8">
|
||||
@@ -19,7 +43,7 @@
|
||||
</a>
|
||||
|
||||
<p>Die Online-Edition der Briefe Johann Georg Hamanns bietet dieselben als durchsuchbaren Volltext sowie einen Stellenkommentar. Die Ausgabe lehnt sich an die Einteilung der Bände der gedruckten Briefausgabe ZH an (Hamann, Briefwechsel. Hg. v. W. Ziesemer u. A. Henkel. 7 Bde. [Frankfurt a.M. 1955–1979]).
|
||||
<p>Die derzeit hier veröffentlichten Briefe umfassen die Jahre 1744 bis 1784. Sie entsprechen im Umfang den Bänden ZH I bis ZH V, S. 300, ergänzt um einzelne neu edierte Briefe. Der Stellenkommentar umfasst die Briefe aus den Jahren 1744 bis 1763. Aktueller Editionsstand ist der 1. März 2023. Die Online-Edition wird fortwährend in Tranchen ergänzt.
|
||||
<p>Die derzeit hier veröffentlichten Briefe umfassen die Jahre 1744 bis @last.Sort.Year. Sie entsprechen im Umfang den Bänden ZH I bis ZH @HaWeb.HTMLHelpers.ConversionHelpers.ToRoman(Int32.Parse(ZH.Volume)), S. @ZH.Page, ergänzt um einzelne neu edierte Briefe. Der Stellenkommentar umfasst die Briefe aus den Jahren 1744 bis @lastCommented.Sort.Year. Aktueller Editionsstand ist der @gS.PullTime.Day. @HaWeb.HTMLHelpers.ConversionHelpers.MonthNames[gS.PullTime.Month] @gS.PullTime.Year. Die Online-Edition wird fortwährend in Tranchen ergänzt.
|
||||
<p><a asp-controller="Index" asp-action="Index" class="dark:text-slate-50 text-hamannSlate-900">Startseite: Suche und Briefauswahl</a>
|
||||
<p><a asp-controller="Edition" asp-action="Richtlinien" class="dark:text-slate-50 text-hamannSlate-900">Editionsrichtlinien</a>
|
||||
<p><a asp-controller="Edition" asp-action="Editionsgeschichte" class="dark:text-slate-50 text-hamannSlate-900">Editionsgeschichte</a>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
@inject IXMLFileProvider xmlProvider
|
||||
@{
|
||||
var gD = xmlProvider.GetGitState();
|
||||
}
|
||||
<div class="ha-footer">
|
||||
<div class="ha-footertext flex flex-row shrink-0 grow-1">
|
||||
<div class="flex grow shrink-0">
|
||||
@@ -11,7 +15,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="grow-0 shrink-0">
|
||||
© 2022 Theodor Springmann Stiftung | Stand vom 1.3.2023 |
|
||||
© @gD.PullTime.Year Theodor Springmann Stiftung | Stand vom @gD.PullTime.Day.@gD.PullTime.Month.@gD.PullTime.Year |
|
||||
<a asp-controller="Home" asp-action="Index">Startseite</a> ·
|
||||
<a asp-controller="Home" asp-action="Kontakt">Kontakt</a> ·
|
||||
<a asp-controller="Home" asp-action="Datenschutzerklaerung">Datenschutzerklärung</a>
|
||||
|
||||
@@ -3,5 +3,7 @@
|
||||
@using HaWeb.Settings
|
||||
@using HaDocument.Models
|
||||
@using System.Text
|
||||
@using HaWeb.FileHelpers
|
||||
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@addTagHelper *, Microsoft.FeatureManagement.AspNetCore
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
"HamannFileStoreLinux": "/home/simon/test/",
|
||||
"HamannFileStoreWindows": "C:/Users/simon/Downloads/test/",
|
||||
"BareRepositoryPathLinux": "/home/simon/source/hamann-xml/.git/",
|
||||
"BareRepositoryPathWindows": "C:/Users/simon/source/hamann-xml/.git/",
|
||||
"BareRepositoryPathWindows": "D:/Simon/source/hamann-xml/.git/",
|
||||
"WorkingTreePathLinux": "/home/simon/source/hamann-xml/marginal-tests/",
|
||||
"WorkingTreePathWindows": "C:/Users/simon/source/hamann-xml/transformations_2023-9-14_test/",
|
||||
"RepositoryBranch": "testdata",
|
||||
"WorkingTreePathWindows": "D:/Simon/source/hamann-xml/",
|
||||
"RepositoryBranch": "Release",
|
||||
"RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml",
|
||||
"StoredPDFPathWindows": "",
|
||||
"StoredPDFPathLinux": "",
|
||||
|
||||
@@ -15,8 +15,9 @@
|
||||
"AllowedHosts": "*",
|
||||
"HamannFileStoreLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Hamann/",
|
||||
"BareRepositoryPathLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Bare/",
|
||||
"BareRepositoryPathWindows": "C:/Users/simon/source/hamann-xml/.git/",
|
||||
"BareRepositoryPathWindows": "D:/Simon/source/hamann-xml/.git/",
|
||||
"WorkingTreePathLinux": "/var/www/vhosts/hamann-ausgabe.de/httpdocs/Repo/",
|
||||
"WorkingTreePathWindows": "D:/Simon/source/hamann-xml/",
|
||||
"RepositoryBranch": "Release",
|
||||
"RepositoryURL": "https://github.com/Theodor-Springmann-Stiftung/hamann-xml",
|
||||
"StoredPDFPathWindows": "",
|
||||
|
||||
@@ -126,9 +126,9 @@ function updateMessage() {
|
||||
commsLog.innerHTML = "Der Server arbeitet...";
|
||||
} else {
|
||||
if (stateCommit != null) {
|
||||
commsLog.innerHTML = "commit " +
|
||||
commsLog.innerHTML = "<a href='https://github.com/Theodor-Springmann-Stiftung/hamann-xml/commit/" + stateCommit.Commit.substring(0,7) + "'>commit " +
|
||||
stateCommit.Commit.substring(0, 7) +
|
||||
" geladen"
|
||||
" geladen</a>"
|
||||
} else {
|
||||
commsLog.innerHTML = "OK.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user