Skip to content
This repository was archived by the owner on Aug 29, 2019. It is now read-only.

Commit b5ffd5b

Browse files
committed
add title to dropdown menu
1 parent 7dda151 commit b5ffd5b

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

app/views/partials/topmenu.volt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
{{ locale.translate('community') }} <span class="caret"></span>
2222
</a>
2323
<ul class="dropdown-menu">
24+
<li class="dropdown-menu-title">
25+
{{ locale.translate('dropdown_menu_title_social') }}
26+
</li>
2427
<li>
2528
<a href="https://phalcon.link/blog" target="_blank">
2629
{{ locale.translate('blog') }}
@@ -57,6 +60,9 @@
5760
</a>
5861
</li>
5962
<li role="separator" class="divider"></li>
63+
<li class="dropdown-menu-title">
64+
{{ locale.translate('dropdown_menu_title_help') }}
65+
</li>
6066
<li>
6167
<a href="https://phalcon.link/forum" target="_blank">
6268
{{ locale.translate('forum') }}

public/css/phalcon.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,3 +1383,9 @@ ul.social-icons li a {
13831383
font-size: .9em;
13841384
margin: 0 0 10px
13851385
}
1386+
1387+
.dropdown-menu-title {
1388+
color: #000;
1389+
font-weight: bold;
1390+
padding: 3px 15px 3px 20px;
1391+
}

public/css/phalcon.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

storage/languages/en.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,5 +402,8 @@
402402
"telegram": "Telegram",
403403
"mewe": "MeWe",
404404
"parler": "Parler",
405-
"stack_overflow": "Stack Overflow"
405+
"stack_overflow": "Stack Overflow",
406+
"dropdown_menu_title_social": "Social",
407+
"dropdown_menu_title_help": "Help"
408+
406409
}

0 commit comments

Comments
 (0)