Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chill-project
Chill-Report
Commits
f14255c0
Commit
f14255c0
authored
Jun 29, 2015
by
Julien Fastré
Browse files
add scope to search results
parent
acb3e8bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Resources/views/Search/results.html.twig
View file @
f14255c0
...
...
@@ -25,6 +25,7 @@
<th>
{{
'Person'
|
trans
}}
</th>
<th>
{{
'Date'
|
trans
}}
</th>
<th>
{{
'Report type'
|
trans
}}
</th>
<th>
{{
'Scope'
|
trans
}}
</th>
<th>
</th>
<th>
</th>
</tr>
...
...
@@ -35,7 +36,7 @@
<td>
{{
report.person
}}
</td>
<td>
{%
if
report.date
%}{{
report.date
|
localizeddate
(
'long'
,
'none'
)
}}{%
endif
%}
</td>
<td>
{{
report.cFGroup.getName
|
localize_translatable_string
}}
</td>
<!--
<td>
{{
report.scope
}}
</td>
-->
<td>
{{
report.scope
.name
|
localize_translatable_string
}}
</td>
<td><a
href=
"
{{
path
(
'report_view'
,
{
'person_id'
:
report.person.id
,
'report_id'
:
report.id
}
)
}}
"
>
{{
'View the report'
|
trans
}}
</a></td>
<td><a
href=
"
{{
path
(
'report_edit'
,
{
'person_id'
:
report.person.id
,
'report_id'
:
report.id
}
)
}}
"
>
{{
'Update the report'
|
trans
}}
</a></td>
</tr>
...
...
Write
Preview
Supports
Markdown
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