[
https://issues.apache.org/jira/browse/ARTEMIS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150197#comment-16150197
]
ASF GitHub Bot commented on ARTEMIS-1270:
-----------------------------------------
Github user mtaylor commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1501#discussion_r136523191
--- Diff:
artemis-hawtio/activemq-branding/src/main/webapp/plugin/js/plugin.js ---
@@ -59,10 +59,14 @@ var activemqBranding = (function (self) {
self.module = angular.module(self.pluginName, ['hawtioCore']);
self.module.run(function (branding) {
- self.log.debug("ActivMQ theme loaded");
+ self.log.info("ActiveMQ theme loaded");
+ if (localStorage['theme'] != 'activemq' ||
localStorage['branding'] != 'activemq') {
+ localStorage['theme'] = 'activemq';
+ localStorage['branding'] = 'activemq';
+ location.reload();
--- End diff --
There are checks in this file to set the branding/theme if it's not already
set. Any reason why you didn't just remove the if statements?
```js
if (!localStorage['theme']) if (!('theme' in localStorage)) {
localStorage['theme'] = 'activemq';
}
```
> Provide a Management Console for Artemis
> ----------------------------------------
>
> Key: ARTEMIS-1270
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1270
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Affects Versions: 2.1.0
> Reporter: Michael Andre Pearce
> Fix For: 2.3.0
>
>
> Artemis currently comes with no out the box console, this is greatly lacking
> feature of artemis that users keep calling/requesting for.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)