Skip to content

Commit fedf445

Browse files
committed
Notification item on menu
1 parent f692ade commit fedf445

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

conf/locale/locale_en-US.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ version = Version
1313
page = Page
1414
template = Template
1515
language = Language
16+
notifications = Notifications
1617
create_new = Create...
1718
user_profile_and_more = User profile and more
1819
signed_in_as = Signed in as

conf/locale/locale_pt-BR.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ version=Versão
1313
page=Página
1414
template=Template
1515
language=Idioma
16+
notifications = Notificações
1617
create_new=Criar...
1718
user_profile_and_more=Perfil do usuário e configurações
1819
signed_in_as=Logado como

templates/base/head.tmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@
7575

7676
{{if .IsSigned}}
7777
<div class="right menu">
78+
<a href="/notifications" class="ui head link jump item poping up" data-content='{{.i18n.Tr "notifications"}}' data-variation="tiny inverted">
79+
<span class="text">
80+
<i class="octicon octicon-inbox"><span class="sr-only">{{.i18n.Tr "notifications"}}</span></i>
81+
</span>
82+
</a>
83+
7884
<div class="ui dropdown head link jump item poping up" data-content="{{.i18n.Tr "create_new"}}" data-variation="tiny inverted">
7985
<span class="text">
8086
<i class="octicon octicon-plus"><span class="sr-only">{{.i18n.Tr "create_new"}}</span></i>

0 commit comments

Comments
 (0)