summaryrefslogtreecommitdiff
path: root/app/views/events/event/_created_project.html.haml
diff options
context:
space:
mode:
authorJob van der Voort <jobvandervoort@gmail.com>2015-04-21 16:21:51 +0200
committerJob van der Voort <jobvandervoort@gmail.com>2015-04-21 16:21:51 +0200
commita8e93b7f51d968c1380ed210499869b62b07fd15 (patch)
treec864e80dfd9cf4f83fcede678acc986e3a125bf5 /app/views/events/event/_created_project.html.haml
parent0625b15a481b3a3edd88110b3c18031ad9068d2f (diff)
downloadgitlab-ce-7.10.0.rc5.tar.gz
Version 7.10.0.rc5v7.10.0.rc5
Diffstat (limited to 'app/views/events/event/_created_project.html.haml')
-rw-r--r--app/views/events/event/_created_project.html.haml27
1 files changed, 0 insertions, 27 deletions
diff --git a/app/views/events/event/_created_project.html.haml b/app/views/events/event/_created_project.html.haml
deleted file mode 100644
index 552525f4a07..00000000000
--- a/app/views/events/event/_created_project.html.haml
+++ /dev/null
@@ -1,27 +0,0 @@
-.event-title
- %span.author_name= link_to_author event
- %span.event_label{class: event.action_name}
- = event_action_name(event)
-
- - if event.project
- = link_to_project event.project
- - else
- = event.project_name
-
-- if current_user == event.author && !event.project.private? && twitter_sharing_enabled?
- .event-body
- .event-note
- .md
- %p
- Congratulations! Why not share your accomplishment with the world?
-
- %a.twitter-share-button{ |
- href: "https://twitter.com/share", |
- "data-url" => event.project.web_url, |
- "data-text" => "I just #{event.project.imported? ? "imported" : "created"} a new project in GitLab! GitLab is version control on your server.", |
- "data-size" => "medium", |
- "data-related" => "gitlab", |
- "data-hashtags" => "gitlab", |
- "data-count" => "none"}
- Tweet
- %script{src: "//platform.twitter.com/widgets.js"}