Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
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
jumpserver
Commits
cb8e59ed
Commit
cb8e59ed
authored
Apr 06, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改文案
parent
1c0d783e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
views.py
apps/audits/views.py
+3
-0
django.mo
apps/i18n/zh/LC_MESSAGES/django.mo
+0
-0
django.po
apps/i18n/zh/LC_MESSAGES/django.po
+1
-1
_nav.html
apps/templates/_nav.html
+1
-1
No files found.
apps/audits/views.py
View file @
cb8e59ed
from
django.conf
import
settings
from
django.views.generic
import
ListView
from
django.utils.translation
import
ugettext
as
_
from
common.mixins
import
AdminUserRequiredMixin
,
DatetimeSearchMixin
...
...
@@ -46,6 +47,8 @@ class FTPLogListView(AdminUserRequiredMixin, DatetimeSearchMixin, ListView):
'asset'
:
self
.
asset
,
'system_user'
:
self
.
system_user
,
'filename'
:
self
.
filename
,
"app"
:
_
(
"Audits"
),
"action"
:
_
(
"FTP log"
),
}
kwargs
.
update
(
context
)
return
super
()
.
get_context_data
(
**
kwargs
)
apps/i18n/zh/LC_MESSAGES/django.mo
View file @
cb8e59ed
No preview for this file type
apps/i18n/zh/LC_MESSAGES/django.po
View file @
cb8e59ed
...
...
@@ -1927,7 +1927,7 @@ msgstr "作业中心"
#: templates/_nav.html:64
msgid "Audits"
msgstr "审计"
msgstr "
日志
审计"
#: templates/_nav.html:67
msgid "FTP log"
...
...
apps/templates/_nav.html
View file @
cb8e59ed
...
...
@@ -64,7 +64,7 @@
<i
class=
"fa fa-coffee"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'Audits' %}
</span><span
class=
"fa arrow"
></span>
</a>
<ul
class=
"nav nav-second-level"
>
<li
id=
"
task
"
><a
href=
"{% url 'audits:ftp-log-list' %}"
>
{% trans 'FTP log' %}
</a></li>
<li
id=
"
ftp-log
"
><a
href=
"{% url 'audits:ftp-log-list' %}"
>
{% trans 'FTP log' %}
</a></li>
</ul>
</li>
{#
<li
id=
""
>
#}
...
...
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