Merge pull request #979 from lmckenzi/NewIGHelp

Change default help location for tables
This commit is contained in:
Grahame Grieve 2022-11-15 07:18:13 +11:00 committed by GitHub
commit cf7ef7218a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4488,7 +4488,7 @@ public class ProfileUtilities extends TranslatingUtilities {
}
if (element != null && (hasNonBaseConstraints(element.getConstraint()) || hasNonBaseConditions(element.getCondition()))) {
Piece p = gc.addText(ProfileUtilities.CONSTRAINT_CHAR);
p.setHint(translate("sd.table", "This element has or is affected by some invariants ("+listConstraintsAndConditions(element)+")"));
p.setHint(translate("sd.table", "This element has or is affected by constraints ("+listConstraintsAndConditions(element)+")"));
p.addStyle(CONSTRAINT_STYLE);
p.setReference(VersionUtilities.getSpecUrl(context.getVersion())+"conformance-rules.html#constraints");
}

View File

@ -631,7 +631,7 @@ public class HierarchicalTableGenerator extends TranslatingUtilities {
model.setAlternating(alternating);
model.setDocoImg(Utilities.pathURL(prefix, "help16.png"));
model.setDocoRef(Utilities.pathURL(prefix, "formats.html#table"));
model.setDocoRef(Utilities.pathURL("http://build.fhir.org/ig/FHIR/ig-guidance", "readingIgs.html#table-views"));
model.getTitles().add(new Title(null, model.getDocoRef(), translate("sd.head", "Name"), translate("sd.hint", "The logical name of the element"), null, 0));
model.getTitles().add(new Title(null, model.getDocoRef(), translate("sd.head", "Flags"), translate("sd.hint", "Information about the use of the element"), null, 0));
model.getTitles().add(new Title(null, model.getDocoRef(), translate("sd.head", "Card."), translate("sd.hint", "Minimum and Maximum # of times the the element can appear in the instance"), null, 0));