debian-mirror-gitlab/app/views/search/results/_issue.html.haml

16 lines
567 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.search-result-row
%h4
2016-06-02 11:05:42 +05:30
= confidential_icon(issue)
2015-04-26 12:48:37 +05:30
= link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do
%span.term.str-truncated= issue.title
.pull-right ##{issue.iid}
- if issue.description.present?
.description.term
= preserve do
= search_md_sanitize(markdown(truncate(issue.description, length: 200, separator: " "), { project: issue.project, author: issue.author }))
2015-04-26 12:48:37 +05:30
%span.light
#{issue.project.name_with_namespace}
2014-09-02 18:07:02 +05:30
- if issue.closed?
2015-04-26 12:48:37 +05:30
.pull-right
%span.label.label-danger Closed