1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

Add custom site titles

This commit is contained in:
2017-11-23 17:09:16 +01:00
parent 0323456d2c
commit 084a640021
10 changed files with 34 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
<% provide(:title, t('.administration')) %>
<h1><%= t('.administration') %></h1>
<%= link_to t('.view_translations'), admin_translations_path, class: 'btn btn-default' %>

View File

@@ -1,3 +1,5 @@
<% provide(:title, Translation.model_name.human(count: 2)) %>
<h1><%= Translation.model_name.human(count: 2) %></h1>
<%= render 'translation_pagination' %>

View File

@@ -1,3 +1,5 @@
<% provide(:title, t('problems.show.problem_subtitle', id: @translation.problem_id)) %>
<div class="page-header">
<h1><%= @translation.title %> <small><%= t 'problems.show.problem_subtitle', id: @translation.problem_id %></small></h1>
</div>