https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-07-29T14:37:37ZRedmineRedmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=188062010-07-29T14:37:37ZEric Thomas
<ul></ul><p>What would be better is if user could select which theme he/she wants to use.<br />For example, there should be a table called: <code>themes</code> with columns: <code>id, name</code><br />Then in the table <code>user_settings</code>, there should be a column: <code>theme_id</code><br />The rest would be self-explanatory.</p> Redmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=188292010-07-30T00:24:07ZВе Fio
<ul></ul><p>I don't want this feature. It would mess everything up for me as I am the admin user. If people really want it that bad, can't you just do something simple in the theme like put a little icon next to the "logged in as" text? Not even a major edit, and it's simple...</p> Redmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=188392010-07-30T08:08:59ZGareth Sylvester-Bradley
<ul></ul><p>Ве Fio wrote:</p>
<blockquote>
<p>I don't want this feature. It would mess everything up for me as I am the admin user. If people really want it that bad, can't you just do something simple in the theme like put a little icon next to the "logged in as" text? Not even a major edit, and it's simple...</p>
</blockquote>
<p>I think you misunderstood me; I wasn't asking for this to happen in the default theme. I'm asking for a change to the generated HTML so that it is possible for me to create a custom theme.</p>
<p>I suspect it is already possible to create a custom theme that puts a little icon next to the "logged in as" text for e.g. href="/users/1" but my whole point is that a little change in this area of the page isn't enough.</p>
<p>Eric Thomas wrote:</p>
<blockquote>
<p>What would be better is if user could select which theme he/she wants to use.</p>
</blockquote>
<p>Eric's suggestion for users to be able to select their own theme would also solve my issue as well as being nice for other users, but (I think) requires a more significant change to Redmine - a database change rather than a self-contained mod to the HTML generation code.</p> Redmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=188442010-07-30T10:52:52ZGary Mueller
<ul></ul><p>Erics suggestion seems to be implemented as a plugin already. See <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Allow each user to select theme (Closed)" href="https://www.redmine.org/issues/5993">#5993</a> for details.</p> Redmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=188482010-07-30T11:34:21ZGareth Sylvester-Bradley
<ul></ul><p>Gary, thanks for that link!</p>
<p>I've installed that plugin, created an "Admin" theme, and selected it for the relevant Redmine accounts. That does enough for me.</p>
<p>Many thanks.</p> Redmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=483362013-04-11T03:12:17ZFilou Centrinov
<ul></ul><p><del>Related</del> Duplicate: <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Have a css stylesheet based on the type of user (New)" href="https://www.redmine.org/issues/4022">#4022</a></p> Redmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=483932013-04-11T13:07:25ZDaniel Felix
<ul></ul><p>Another small fix would be to change the head of the Redmine page itself. I'm currently preparing a small patch which just adds a class to the body. This will give us the ability to set some special rules in themes to highlight that the current user has admin privileges.</p>
<p>What do you think?</p> Redmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=484102013-04-11T15:57:10ZDipan Mehta
<ul></ul><p>+1. Nice thing to have!</p> Redmine - Feature #5987: Enable a custom theme to very clearly indicate on every page that you're logged in as an Admin userhttps://www.redmine.org/issues/5987?journal_id=486162013-04-15T13:36:45ZDaniel Felix
<ul><li><strong>File</strong> <a href="/attachments/9544">Screenshot.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9544/Screenshot.png">Screenshot.png</a> added</li><li><strong>File</strong> <a href="/attachments/9545">hightlight_admin.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/9545/hightlight_admin.diff">hightlight_admin.diff</a> added</li></ul><p>Hi,</p>
<p>here is a small patch for this.</p>
<p>The body gets another class called "admin" which allows the user to define some admin specific theme settings.</p>
<p>For example see Screenshot.png.</p>