Revisited the NavBar. Updated CSS

This commit is contained in:
Francesco Mangiacrapa 2024-02-23 15:27:14 +01:00
parent 4a5ed9caa5
commit 5031c3b9c0
3 changed files with 10 additions and 4 deletions

View File

@ -104,7 +104,7 @@ public interface CKanPublisherService extends RemoteService {
* @return true if he/she can publish, false otherwise
* @throws Exception the exception
*/
boolean isPublisherUser() throws Exception;
Boolean isPublisherUser() throws Exception;
/**
* Get the list of vocabulary tags for this scope.
@ -131,7 +131,7 @@ public interface CKanPublisherService extends RemoteService {
* @return true, if is owner or admin user
* @throws Exception the exception
*/
boolean isPublisherOwnerOrAdminUser(String datasetIdOrName) throws Exception;
Boolean isPublisherOwnerOrAdminUser(String datasetIdOrName) throws Exception;
/**
* Gets the dataset bean for update.

View File

@ -181,4 +181,10 @@
height: 22px !important;
padding: 0px !important;
margin: 0px !important;
}
#the_catalogue_nav_bar .btn.disabled {
/*background-color: #E6E6E6;*/
text-decoration: none !important;
color: #333333 !important;
}

View File

@ -1181,7 +1181,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
* @throws Exception the exception
*/
@Override
public boolean isPublisherUser() throws Exception {
public Boolean isPublisherUser() throws Exception {
String username = GenericUtils.getCurrentUser(getThreadLocalRequest()).getUsername();
logger.info("Checking if the user " + username + " can publish or not on the catalogue");
@ -1265,7 +1265,7 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
* @throws Exception the exception
*/
@Override
public boolean isPublisherOwnerOrAdminUser(String datasetIdOrName) throws Exception {
public Boolean isPublisherOwnerOrAdminUser(String datasetIdOrName) throws Exception {
String username = GenericUtils.getCurrentUser(getThreadLocalRequest()).getUsername();
logger.info("Checking if the user " + username + " can publish or not on the catalogue");