-
- Downloads
There was a problem fetching the pipeline summary.
Add page descriptions and images
A limited number of pages have defined their own descriptions, but otherwise we default to the Project's description (if `@Project` is set), or the old `brand_title` fallback. The image will either be the uploaded project icon (never a generated one), the user's uploaded icon or Gravatar, or, finally, the GitLab logo.
Showing
- app/helpers/page_layout_helper.rb 50 additions, 0 deletionsapp/helpers/page_layout_helper.rb
- app/views/layouts/_head.html.haml 8 additions, 4 deletionsapp/views/layouts/_head.html.haml
- app/views/projects/issues/show.html.haml 3 additions, 1 deletionapp/views/projects/issues/show.html.haml
- app/views/projects/merge_requests/_show.html.haml 3 additions, 1 deletionapp/views/projects/merge_requests/_show.html.haml
- app/views/projects/milestones/show.html.haml 3 additions, 1 deletionapp/views/projects/milestones/show.html.haml
- app/views/users/show.html.haml 3 additions, 2 deletionsapp/views/users/show.html.haml
- spec/helpers/page_layout_helper_spec.rb 79 additions, 0 deletionsspec/helpers/page_layout_helper_spec.rb
Loading
Please register or sign in to comment