Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion root/about/contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
});
$.each(rows, function(idx, row) {
el.append(
'<li><a href="https://github.com/'+ row.login +'" title="Github profile of '+ row.login +'"><img src="'+ row.avatar_url +'" class="author-img" />'
'<li><a href="https://github.com/'+ row.login +'" title="GitHub profile of '+ row.login +'"><img src="'+ row.avatar_url +'" class="author-img" />'
+'<strong>'+ row.login +'</strong></a>'
+'('+ row.contributions +' '+ (row.contributions === 1 ? 'commit' : 'commits') +')</li>'
);
Expand Down
4 changes: 2 additions & 2 deletions root/about/development.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
Our code base is based on current best practices and modern web technologies.
Our stack includes Catalyst, Plack, ElasticSearch, jQuery, Bootstrap and nginx.
We also use Puppet for deployment and Vagrant + VirtualBox for development VMs.
We have integration with Twitter, Github, PAUSE, Facebook and Google. All code
is managed on Github and we have an active channel (#metacpan) on irc.perl.org.
We have integration with Twitter, GitHub, PAUSE, Facebook and Google. All code
is managed on GitHub and we have an active channel (#metacpan) on irc.perl.org.
Try the <a href="http://widget01.mibbit.com/?autoConnect=true&server=irc.perl.org&channel=%23metacpan&nick=">mibbit web client</a> to access the channel.
The IRC channel has an <a href="http://irclog.perlgeek.de/metacpan/">archive</a> as well.

Expand Down
2 changes: 1 addition & 1 deletion root/inc/keyboard_shortcuts.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<thead>
<tr>
<th></th>
<th>Github</th>
<th>GitHub</th>
</tr>
</thead>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion root/preprocess.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
friendfeed = { name = 'FriendFeed', url = 'http://friendfeed.com/%s' },
geeklist = { name = 'geekli.st', url = 'http://geekli.st/%s' },
github = { name = 'GitHub', url = 'https://github.com/%s' },
'github-meets-cpan' = { name = 'Github Meets CPAN', url = 'http://gh.metacpan.org/user/%s' },
'github-meets-cpan' = { name = 'GitHub Meets CPAN', url = 'http://gh.metacpan.org/user/%s' },
gitorious = { name = 'Gitorious', url = 'https://gitorious.org/~%s' },
gittip = { name = 'Gratipay', url = 'https://gratipay.com/%s' },
googleplus = { name = 'Google+', url = 'http://plus.google.com/%s' },
Expand Down
12 changes: 6 additions & 6 deletions root/static/js/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
// to the same github repo. If you mouse over both the requests are made
// twice. It would be nice to share the responses between both.

function GithubUrl(item) {
function GitHubUrl(item) {
this.item = $(item);
this.href = this.item.attr('href');
}

GithubUrl.match = function(a){
GitHubUrl.match = function(a){
if ($(a).length == 0) return;

return $(a).attr('href').indexOf('github') >= 0;
};

// anchor patterns and check for www. or no subdomain to avoid user wikis, blogs, etc

$.extend(GithubUrl.prototype, {
$.extend(GitHubUrl.prototype, {
config: {

// Release info
Expand Down Expand Up @@ -244,15 +244,15 @@

$(document).ready(function() {
$('.nav-list a:not(.nopopup)').each(function() {
if( GithubUrl.match(this) ) {
(new GithubUrl(this)).createPopup();
if( GitHubUrl.match(this) ) {
(new GitHubUrl(this)).createPopup();

}
});

var repository = $('a[data-keyboard-shortcut="g r"]');

if( GithubUrl.match(repository) ) {
if( GitHubUrl.match(repository) ) {
Mousetrap.bind('g p', function() {
// we haven't hit the github api at this point, so we cheat for the url
var pull_request_url = repository.attr('href') + '/pulls';
Expand Down
2 changes: 1 addition & 1 deletion root/wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
icon = "question",
},
{
title = "Github Issues",
title = "GitHub Issues",
path = ["https://github.com/metacpan/metacpan-web/issues"],
class = 'hidden-xs',
icon = "github-alt",
Expand Down