Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-10-01 17:58:13 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-10-01 17:58:13 +0400
commit69751aac32f505a87a40af638dbf14f69f85315e (patch)
tree347cff712fd0781cf1813f72b8ccc6c3af921a72 /app/views/events/event/_common.html.haml
parent663dd6fad6e0a992f7ba1ccff4e58de84463abe6 (diff)
Refactoring event views
Diffstat (limited to 'app/views/events/event/_common.html.haml')
-rw-r--r--app/views/events/event/_common.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/events/event/_common.html.haml b/app/views/events/event/_common.html.haml
new file mode 100644
index 00000000000..ffcaa81a9d8
--- /dev/null
+++ b/app/views/events/event/_common.html.haml
@@ -0,0 +1,7 @@
+.event-title
+ %span.author_name= link_to_author event
+ %span.event_label{class: event.action_name}= event_action_name(event)
+ = link_to [event.project, event.target] do
+ %strong= truncate event.target_title
+ at
+ = link_to_project event.project