Vote #63708
未完了graphic-only application title
0%
説明
i'd like to be able to remove the application title text completely from all pages, in favour of a graphical title (i currently specify a graphical title via a themed application.css file).
as a workaround, I tried leaving the application title blank, but that results in an empty title in the browser window.
journals
--------------------------------------------------------------------------------
This can be entirely done in css:
<pre><code class="css">
/* load the default Redmine stylesheet */
@import url(../../../stylesheets/application.css);
/* add a logo in the header */
#header {
background: #507AAA url(../images/logo.png) no-repeat 2px;
padding-left: 210px;
}
#header h1 { display:none; }
</code></pre>
--------------------------------------------------------------------------------
Michael Wünsch wrote:
> This can be entirely done in css:
> [...]
interesting hack, but it's not as clean as i'd like it to be. ideally i'd like a "graphical title" setting with an "upload" dialog for the title graphic. when using a graphical title, redmine would automatically hide the text title, but still set the html <title> tag correctly.
--------------------------------------------------------------------------------
+1. I would like to have something similar but a combination of Text and Image. Currently, the settings page allows to set the Application Title. However, if one want's to put the Logo or any graphic - one needs to modify the code. Either @application.css@ or files in layout. I think the Admin setting's page should allow to select/upload the image and set the size so that without modifying the code.
I think this would be a very small change in the Redmine code - we must have this.
--------------------------------------------------------------------------------