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:
authorconnorshea <connor.james.shea@gmail.com>2016-04-01 01:40:39 +0300
committerconnorshea <connor.james.shea@gmail.com>2016-04-01 02:09:36 +0300
commit85cc1729596ac1e5b31d8cfa1daa07477db6033d (patch)
tree1f65c29321f5f6f9f6875221b83bb30e8115b178 /app/views/events/event/_created_project.html.haml
parent82539cff700931532b22b6a8e3d6832137fc5d55 (diff)
Remove "Congratulations!" tweet button on newly-created project.
I’ve removed everything related to the feature based on this commit: ce08f919f34fd8849834365 Resolves #10857.
Diffstat (limited to 'app/views/events/event/_created_project.html.haml')
-rw-r--r--app/views/events/event/_created_project.html.haml18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/views/events/event/_created_project.html.haml b/app/views/events/event/_created_project.html.haml
index 8cf36c711b4..5a2a469ba62 100644
--- a/app/views/events/event/_created_project.html.haml
+++ b/app/views/events/event/_created_project.html.haml
@@ -7,21 +7,3 @@
= link_to_project event.project
- else
= event.project_name
-
-- if !event.project.private? && twitter_sharing_enabled?
- .event-body{"data-user-is" => event.author_id}
- .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.action_name} a new project on 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"}