Skip to content

Commit 04a8f9b

Browse files
Merged in feature/BKL-75-AddHeaderToCreateQuestion (pull request #50)
Feature/BKL-75-AddHeaderToCreateQuestion
2 parents 7cca8fe + 0ba07cf commit 04a8f9b

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

config/sync/block.block.os2loop_theme_page_title.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ settings:
2222
visibility:
2323
request_path:
2424
id: request_path
25-
pages: '/node/*'
26-
negate: true
25+
pages: "/node/add/*\r\n/user/*"
26+
negate: false

web/profiles/custom/os2loop/themes/os2loop_theme/os2loop_theme.theme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ function os2loop_theme_preprocess_block(&$variables) {
6161

6262
switch ($path) {
6363
case '/user/{user}':
64-
$variables['content']['#title'] = 'Profile';
64+
$variables['content']['#title'] = t('Profile');
6565
break;
6666

6767
case '/user/{user}/edit':
68-
$variables['content']['#title'] = 'Edit profile';
68+
$variables['content']['#title'] = t('Edit profile');
6969
break;
7070
}
7171
}

web/profiles/custom/os2loop/themes/os2loop_theme/templates/layout/page-title.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
#}
1717
{{ title_prefix }}
1818
{% if title %}
19-
<h1{{ title_attributes.addClass('h2') }}>{{ title }}</h1>
19+
<h1{{ title_attributes.addClass('h2 mb-20') }}>{{ title }}</h1>
2020
{% endif %}
2121
{{ title_suffix }}

web/profiles/custom/os2loop/translations/translations.da.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29046,4 +29046,7 @@ msgstr "Redaktionens anbefaling"
2904629046
msgid "Most votes"
2904729047
msgstr "Flest stemmer"
2904829048

29049+
msgid "Profile"
29050+
msgstr "Profil"
29051+
2904929052

0 commit comments

Comments
 (0)