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
97e69794
Unverified
Commit
97e69794
authored
Mar 08, 2018
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
362102ea
Show 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 @
97e69794
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
"show left manager"
:
"显示左边栏"
,
"show left manager"
:
"显示左边栏"
,
"disconnect all"
:
"断开所有链接"
,
"disconnect all"
:
"断开所有链接"
,
"disconnect"
:
"断开链接"
,
"disconnect"
:
"断开链接"
,
"website"
:
"
我们的网站
"
,
"website"
:
"
官网
"
,
"search"
:
"搜索"
,
"search"
:
"搜索"
,
"settings"
:
"系统设置"
,
"settings"
:
"系统设置"
,
"job center"
:
"作业中心"
,
"job center"
:
"作业中心"
,
...
@@ -46,5 +46,7 @@
...
@@ -46,5 +46,7 @@
"choose a user"
:
"选择一个用户"
,
"choose a user"
:
"选择一个用户"
,
"please choose a user"
:
"请选择一个用户"
,
"please choose a user"
:
"请选择一个用户"
,
"cancel"
:
"取消"
,
"cancel"
:
"取消"
,
"confirm"
:
"确认"
"confirm"
:
"确认"
,
"document"
:
"文档"
,
"support"
:
"商业支持"
}
}
src/app/elements/nav/nav.component.html
View file @
97e69794
<script
src=
"../../trans.pipe.spec.ts"
></script>
<script
src=
"../../trans.pipe.spec.ts"
></script>
<div
class=
"nav"
>
<div
class=
"nav"
>
<ul>
<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>
<li
*
ngFor=
"let v of DataStore.Nav"
[
ngClass
]="{'
dropdown
'
:
v
.
children
}"
>
<li
*
ngFor=
"let v of DataStore.Nav"
[
ngClass
]="{'
dropdown
'
:
v
.
children
}"
>
<a>
{{v.name | trans}}
</a>
<a>
{{v.name | trans}}
</a>
...
...
src/app/elements/nav/nav.component.ts
View file @
97e69794
...
@@ -82,8 +82,12 @@ export class ElementNavComponent implements OnInit {
...
@@ -82,8 +82,12 @@ export class ElementNavComponent implements OnInit {
window
.
open
(
'http://www.jumpserver.org'
);
window
.
open
(
'http://www.jumpserver.org'
);
break
;
break
;
}
}
case
'BBS'
:
{
case
'Document'
:
{
window
.
open
(
'http://bbs.jumpserver.org'
);
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
;
break
;
}
}
case
'EnterLicense'
:
{
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