Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
ea593f59
Commit
ea593f59
authored
Mar 08, 2018
by
zheng liu
Browse files
Options
Browse Files
Download
Plain Diff
Merged in dev (pull request #64)
feat: update
parents
4a134310
97e69794
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
cn.json
i18n/cn.json
+4
-2
nav.component.html
src/app/elements/nav/nav.component.html
+1
-1
nav.component.ts
src/app/elements/nav/nav.component.ts
+6
-2
No files found.
i18n/cn.json
View file @
ea593f59
...
...
@@ -16,7 +16,7 @@
"show left manager"
:
"显示左边栏"
,
"disconnect all"
:
"断开所有链接"
,
"disconnect"
:
"断开链接"
,
"website"
:
"
我们的网站
"
,
"website"
:
"
官网
"
,
"search"
:
"搜索"
,
"settings"
:
"系统设置"
,
"job center"
:
"作业中心"
,
...
...
@@ -46,5 +46,7 @@
"choose a user"
:
"选择一个用户"
,
"please choose a user"
:
"请选择一个用户"
,
"cancel"
:
"取消"
,
"confirm"
:
"确认"
"confirm"
:
"确认"
,
"document"
:
"文档"
,
"support"
:
"商业支持"
}
src/app/elements/nav/nav.component.html
View file @
ea593f59
<script
src=
"../../trans.pipe.spec.ts"
></script>
<div
class=
"nav"
>
<ul>
<li><a
[
routerLink
]="['']
"
><img
src=
"static/imgs/logo.png"
height=
"26px"
/></a>
<li><a
href=
"/
"
><img
src=
"static/imgs/logo.png"
height=
"26px"
/></a>
</li>
<li
*
ngFor=
"let v of DataStore.Nav"
[
ngClass
]="{'
dropdown
'
:
v
.
children
}"
>
<a>
{{v.name | trans}}
</a>
...
...
src/app/elements/nav/nav.component.ts
View file @
ea593f59
...
...
@@ -82,8 +82,12 @@ export class ElementNavComponent implements OnInit {
window
.
open
(
'http://www.jumpserver.org'
);
break
;
}
case
'BBS'
:
{
window
.
open
(
'http://bbs.jumpserver.org'
);
case
'Document'
:
{
window
.
open
(
'http://docs.jumpserver.org/'
);
break
;
}
case
'Support'
:
{
window
.
open
(
'https://market.aliyun.com/products/53690006/cmgj026011.html?spm=5176.730005.0.0.cY2io1'
);
break
;
}
case
'EnterLicense'
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment