NIHVIVO-2343 Combine the code for ProxyPanel and ProfilePanel. Remove unused code.
This commit is contained in:
parent
61b14bb1cd
commit
b87c811831
5 changed files with 130 additions and 273 deletions
|
@ -36,6 +36,9 @@ public abstract class UserAccountsPage extends AbstractPageHandler {
|
|||
|
||||
private static final String PERSON_CLASS_URI = "http://xmlns.com/foaf/0.1/Person";
|
||||
|
||||
private static final String DEFAULT_IMAGE_URL = UrlBuilder
|
||||
.getUrl("/images/placeholders/person.thumbnail.jpg");
|
||||
|
||||
/**
|
||||
* After the account is created, or the password is reset, the user has this
|
||||
* many days to repond to the email.
|
||||
|
@ -102,6 +105,7 @@ public abstract class UserAccountsPage extends AbstractPageHandler {
|
|||
UrlBuilder.getUrl("/accounts/firstTimeExternal"));
|
||||
map.put("accountsAjax", UrlBuilder.getUrl("/accountsAjax"));
|
||||
map.put("sparqlQueryAjax", UrlBuilder.getUrl("/ajax/sparqlQuery"));
|
||||
map.put("defaultImageUrl", DEFAULT_IMAGE_URL);
|
||||
|
||||
return map;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue