Merge branch 'hotfix/21.56.9' into master
[gitter.git] / public / js / views / modals / tmpl / share-view.hbs
blob96c1968e00a0de889265f3f64e9bf523061bbb77
1 <h3 class="share-view__heading">
2   Classic
3 </h3>
5 <section class="share-view__section">
6   <input class="share-view__copy-field" value="{{stub}}" onclick="this.select();">
8   {{#if hasFlash}}
9   <button class="button-jaffa--small js-copy" data-clipboard-text="{{stub}}">Copy</button>
10   {{/if}}
11 </section>
13 <h3 class="share-view__heading">
14   README badge ( <img class="share-view__badge" src="{{badgeUrl}}"> )
15 </h3>
17 <section class="share-view__section">
18   <input class="share-view__copy-field share-view__copy-field--readme" value="{{badgeMD}}" onclick="this.select();">
20   {{#if hasFlash}}
21   <button class="button-jaffa--small js-copy" data-clipboard-text="{{badgeMD}}">Copy</button>
22   {{/if}}
24   {{#if isRepo}}
25     {{#if allowBadgePR}}
26       <button class='button-jaffa--small js-badge'>Send Pull Request</button>
27     {{/if}}
28   {{/if}}
29 </section>
31 {{#if isPublic}}
32 <h3 class="share-view__heading">
33   Social
34 </h3>
36 <section class="share-view__section share-view__social">
37   <a href="{{twitterUrl}}" target="_blank" class="button-twitter">
38     <i class="icon-twitter"></i>
39   </a>
40   <a href="{{facebookUrl}}" target="_blank" class="button-facebook">
41     <i class="icon-facebook-official"></i>
42   </a>
43   <a class="button-linkedin" target="_blank" href="{{ linkedinLink }}">
44     <i class="icon-linkedin"></i>
45   </a>
46   <a class="button-google-plus" target="_blank" href="{{ googlePlusLink }}">
47     <i class="icon-gplus"></i>
48   </a>
49 </section>
50 {{/if}}