Added nachschlagewerke und Edition Link types

This commit is contained in:
Simon Martens
2024-01-25 12:07:37 +01:00
parent 6b3fe77588
commit d386e8ad49
2 changed files with 6 additions and 1 deletions

View File

@@ -85,6 +85,11 @@ public class LinkHelper {
_sb.Append(HTMLHelpers.TagHelpers.CreateElement("a", REFLINKCLASS, "/HKB/Register/Bibelstellen/" + linkloc[0] + linkloc[1] + "#" + comment.Index));
else if (comment.Type == "forschung")
_sb.Append(HTMLHelpers.TagHelpers.CreateElement("a", REFLINKCLASS, "/HKB/Register/Forschung/" + linkloc[0] + "#" + comment.Index));
else if (comment.Type == "editionen")
_sb.Append(HTMLHelpers.TagHelpers.CreateElement("a", REFLINKCLASS, "/HKB/Register/Forschung/Editionen/" + linkloc[0] + "#" + comment.Index));
else if (comment.Type == "nachschlagewerke")
_sb.Append(HTMLHelpers.TagHelpers.CreateElement("a", REFLINKCLASS, "/HKB/Register/Forschung/Nachschlagewerke/" + linkloc[0] + "#" + comment.Index));
_sb.Append(GetLemmaString(tag, comment, _lib, _followlinksinchildren));
}
}