Improved guide wording.
This commit is contained in:
parent
d27028e27d
commit
45debe8fc1
2 changed files with 12 additions and 16 deletions
|
@ -344,16 +344,15 @@ public class Organization extends PathPropertyList
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the technical doc website.
|
||||
* Gets the technical guide website.
|
||||
*
|
||||
* @return the technical doc website
|
||||
* @return the technical guide website
|
||||
*/
|
||||
public String getTechnicalDocWebsite()
|
||||
public String getTechnicalGuideWebsite()
|
||||
{
|
||||
String result;
|
||||
|
||||
result = get("organization.documentation.technical", "organization.documentationtechnical.url", "organization.technical", "organization.technical.url", "service.guide.technical",
|
||||
"organization.guide.technical.url");
|
||||
result = get("service.guide.technical", "organization.guide.technical.url");
|
||||
|
||||
//
|
||||
return result;
|
||||
|
@ -390,18 +389,15 @@ public class Organization extends PathPropertyList
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the user doc website.
|
||||
* Gets the user guide website.
|
||||
*
|
||||
* @return the user doc website
|
||||
* @return the user guide website
|
||||
*/
|
||||
public String getUserDocWebsite()
|
||||
public String getUserGuideWebsite()
|
||||
{
|
||||
String result;
|
||||
|
||||
result = get("organization.documentation", "organization.documentation.url", "organization.documentation.user", "organization.documentation.user.url", "service.documentation.tutorial",
|
||||
"organization.documentation.tutorial.url",
|
||||
"organization.guide.user",
|
||||
"organization.guide.user.url");
|
||||
result = get("organization.guide.user", "organization.guide.user.url");
|
||||
|
||||
//
|
||||
return result;
|
||||
|
|
|
@ -89,15 +89,15 @@ public class OrganizationPage
|
|||
data.setAttribute("emailLinkImg", "class", "");
|
||||
data.getIdData("emailLinkImg").getAttribute("class").setMode(DisplayMode.REPLACE);
|
||||
}
|
||||
if (StringUtils.isNotBlank(organization.getUserDocWebsite()))
|
||||
if (StringUtils.isNotBlank(organization.getUserGuideWebsite()))
|
||||
{
|
||||
data.setAttribute("userDocLink", "href", organization.getUserDocWebsite());
|
||||
data.setAttribute("userDocLink", "href", organization.getUserGuideWebsite());
|
||||
data.setAttribute("userDocLinkImg", "class", "");
|
||||
data.getIdData("userDocLinkImg").getAttribute("class").setMode(DisplayMode.REPLACE);
|
||||
}
|
||||
if (StringUtils.isNotBlank(organization.getTechnicalDocWebsite()))
|
||||
if (StringUtils.isNotBlank(organization.getTechnicalGuideWebsite()))
|
||||
{
|
||||
data.setAttribute("technicalDocLink", "href", organization.getTechnicalDocWebsite());
|
||||
data.setAttribute("technicalDocLink", "href", organization.getTechnicalGuideWebsite());
|
||||
data.setAttribute("technicalDocLinkImg", "class", "");
|
||||
data.getIdData("technicalDocLinkImg").getAttribute("class").setMode(DisplayMode.REPLACE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue