Commit graph

16 commits

Author SHA1 Message Date
Markus Koller
b8a3931925
Add custom brand text on new project pages 2017-12-04 17:22:59 +01:00
Drew Blessing
0332356d92 When a custom header logo is present, don't show GitLab type logo
In the new navigation header, when a user uploads a custom header
logo GitLab will still show the 'GitLab' type logo. This is often
undesirable as the user may want to upload a logo with their own
name present. This change will toggle the GitLab type logo if a
custom header logo is present.
2017-11-15 15:35:24 -06:00
Tim Zallmann
55f772bb98 Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00
Yorick Peterse
26bb50412c
Cache Appearance instances in Redis
This caches the result of Appearance.first in a similar fashion to how
ApplicationSetting instances are cached. We also add some NOT NULL
constraints to the table and correct the timestamp types.

Fixes gitlab-org/gitlab-ce#36066, fixes gitlab-org/gitlab-ce#31698
2017-08-10 12:45:49 +02:00
Nick Thomas
9920551536 Enable CacheMarkdownField for the remaining models
This commit alters views for the following models to use the markdown cache if
present:

* AbuseReport
* Appearance
* ApplicationSetting
* BroadcastMessage
* Group
* Issue
* Label
* MergeRequest
* Milestone
* Project

At the same time, calls to `escape_once` have been moved into the `single_line`
Banzai pipeline, so they can't be missed out by accident and the work is done
at save, rather than render, time.
2016-10-07 02:54:26 +01:00
Douwe Maan
6a355d451e Improve performance of MR show page 2016-08-18 19:08:59 -05:00
Annabel Dunstone
c57471ddb4 Add new stopwatch and commit icons; rename custom icon helper; fix commit pipeline layout 2016-07-12 14:52:59 -05:00
Phil Hughes
4ddcac8ca8 Added blank state to issues 2016-07-05 09:06:38 +01:00
Annabel Dunstone
f3637ed782 Start adding SVG icons 2016-06-08 12:56:02 -05:00
Zeger-Jan van de Weg
9a2869ab46 Branded login page also in CE
The only major difference with the EE version is the change from a light and dark logo to only a header logo
The dark logo wasn't used anyway, so it seemed to make sense to me to rename the field to the actual function of it
2016-02-26 15:50:51 +01:00
Job van der Voort
dd0552c36d Animate the logo on hover
The logo is now rendered as pure SVG, rather than image referencing a
svg. The SVG has an id and the shapes of the logo have a shared class.
The shapes change their fill color on hover with a transition.
2015-10-21 08:59:30 +02:00
Dmitriy Zaporozhets
f5e0e5c0a3
Replace old logo with new one
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-19 16:59:16 +02:00
Dmitriy Zaporozhets
ee343661e1 Get rid of black logo 2015-02-24 23:17:11 -08:00
Dmitriy Zaporozhets
6e559be6c6 Refactor header logo and setup expectation on it size 2015-02-24 22:58:47 -08:00
Dmitriy Zaporozhets
62d2aed036
Improve login page behaviour
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-13 20:56:29 +03:00
Dmitriy Zaporozhets
8c15fd0014
Rename brand helper
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-11 17:16:44 +03:00
Renamed from app/helpers/brand_helper.rb (Browse further)