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

_created_project.html.haml « event « events « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 552525f4a0783257f881e7dcd125ccdfc986301c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.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"}