5c3e382e21ae

Merge.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 10 Oct 2012 16:26:44 -0400
parents 311e044593af (diff) c88b89eff3ef (current diff)
children a9812708d573 9169a378ff4a
branches/tags (none)
files dotcss/flickr.com.css

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dotcss/bitbucket.org.css	Wed Oct 10 16:26:44 2012 -0400
@@ -0,0 +1,1 @@
+#invite-repo-box {display: none;}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dotcss/goodreads.com.css	Wed Oct 10 16:26:44 2012 -0400
@@ -0,0 +1,3 @@
+#featured_polls, #quote_of_the_day {
+    display: none;
+}
--- a/dotjs/github.com.js	Wed Oct 10 12:11:32 2012 -0400
+++ b/dotjs/github.com.js	Wed Oct 10 16:26:44 2012 -0400
@@ -54,4 +54,19 @@
     if (window.location.hash === '#reviewing') {
         $('a#toggle-merges-button').click();
     }
+
+    if ($('.view-pull-request').length) {
+        var url = $('table.commits tr.commit .commit-meta a').attr('href');
+        var parts = url.split('/');
+        var repo = 'git://github.com/' + parts[1] + '/' + parts[2] + '.git';
+        $('#pull-head').append('<textarea id="goddamned-repo-url">' + repo + '</textarea>');
+        $('#goddamned-repo-url').css('width', '897px')
+                                .css('height', '20px')
+                                .css('border', '1px solid #ccc')
+                                .css('padding', '5px 0px 3px 4px')
+                                .css('margin', '3px 0px 5px 8px')
+                                .css('font-size', '18px')
+                                .css('color', '#555')
+                                .css('border-radius', '3px');
+    }
 });