Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e3d96fc2
Commit
e3d96fc2
authored
Nov 21, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove table duplication.
parent
ac9f9ae1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
58 deletions
+31
-58
app/views/audit_events/_event_table.html.haml
app/views/audit_events/_event_table.html.haml
+29
-0
app/views/audit_events/group_log.html.haml
app/views/audit_events/group_log.html.haml
+1
-30
app/views/audit_events/project_log.html.haml
app/views/audit_events/project_log.html.haml
+1
-28
No files found.
app/views/audit_events/_event_table.html.haml
0 → 100644
View file @
e3d96fc2
-
if
defined?
(
events
)
%table
.table
#audits
%thead
%tr
%th
%th
%th
Author
%th
%th
%th
Action
%th
%th
Target
%th
%th
At
%tbody
-
events
.
each
do
|
event
|
%tr
%td
%td
%td
#{
event
.
author_name
}
%td
%td
%td
#{
raw
human_text
(
event
.
details
)
}
%td
%td
#{
event
.
details
[
'target_details'
]
}
%td
%td
#{
event
.
created_at
}
=
paginate
events
app/views/audit_events/group_log.html.haml
View file @
e3d96fc2
.row
.col-md-2
=
render
'groups/settings_nav'
...
...
@@ -8,31 +6,4 @@
%h3
.page-title
Group Audit Events
%p
.light
Events in
#{
@group
.
name
}
%table
.table
#audits
%thead
%tr
%th
%th
%th
Author
%th
%th
%th
Action
%th
%th
Target
%th
%th
At
%tbody
-
@events
.
each
do
|
event
|
%tr
%td
%td
%td
#{
event
.
author_name
}
%td
%td
%td
#{
raw
human_text
(
event
.
details
)
}
%td
%td
#{
event
.
details
[
'target_details'
]
}
%td
%td
#{
event
.
created_at
}
=
paginate
@events
=
render
'event_table'
,
events:
@events
app/views/audit_events/project_log.html.haml
View file @
e3d96fc2
%h3
.page-title
Project Audit Events
%p
.light
Events in
#{
@project
.
path_with_namespace
}
%table
.table
#audits
%thead
%tr
%th
%th
%th
Author
%th
%th
%th
Action
%th
%th
Target
%th
%th
At
%tbody
-
@events
.
each
do
|
event
|
%tr
%td
%td
%td
#{
event
.
author_name
}
%td
%td
%td
#{
raw
human_text
(
event
.
details
)
}
%td
%td
#{
event
.
details
[
'target_details'
]
}
%td
%td
#{
event
.
created_at
}
=
paginate
@events
=
render
'event_table'
,
events:
@events
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