Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Michał Prochowski
2012-06-14 00:34:10 +02:00
10 changed files with 20 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
{% extends 'layout.twig' %}
{% block title %}Gitlist{% endblock %}
{% block title %}GitList{% endblock %}
{% block body %}
{% include 'navigation.twig' %}

View File

@@ -1,5 +1,5 @@
{% extends 'layout.twig' %}
{% block title %}Gitlist{% endblock %}
{% block title %}GitList{% endblock %}
{% block body %}
{% include 'navigation.twig' %}

View File

@@ -1,5 +1,5 @@
{% extends 'layout.twig' %}
{% block title %}Gitlist{% endblock %}
{% block title %}GitList{% endblock %}
{% block body %}
{% include 'navigation.twig' %}

View File

@@ -1,5 +1,5 @@
{% extends 'layout.twig' %}
{% block title %}Gitlist{% endblock %}
{% block title %}GitList{% endblock %}
{% block body %}
{% include 'navigation.twig' %}

View File

@@ -1,5 +1,5 @@
{% extends 'layout.twig' %}
{% block title %}Gitlist{% endblock %}
{% block title %}GitList{% endblock %}
{% block body %}
{% include 'navigation.twig' %}

View File

@@ -6,7 +6,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="{{ baseurl }}">Gitlist</a>
<a class="brand" href="{{ baseurl }}">GitList</a>
<div class="nav-collapse">
<ul class="nav pull-right">
<li><a href="https://github.com/klaussilveira/gitlist/">About</a></li>

View File

@@ -2,7 +2,7 @@
<rss version="2.0">
<channel>
<title>Latest commits in {{ repo }}:{{ branch }}</title>
<description>RSS provided by Gitlist</description>
<description>RSS provided by GitList</description>
<link>{{ baseurl }}/</link>
{% for commit in commits %}

View File

@@ -1,5 +1,5 @@
{% extends 'layout.twig' %}
{% block title %}Gitlist{% endblock %}
{% block title %}GitList{% endblock %}
{% block body %}
{% include 'navigation.twig' %}

View File

@@ -1,5 +1,5 @@
{% extends 'layout.twig' %}
{% block title %}Gitlist{% endblock %}
{% block title %}GitList{% endblock %}
{% block body %}
{% include 'navigation.twig' %}

View File

@@ -1,12 +1,14 @@
$(function () {
$('.dropdown-toggle').dropdown();
var mode = $('#sourcecode').attr('language');
CodeMirror.fromTextArea(document.getElementById("sourcecode"), {
lineNumbers: true,
matchBrackets: true,
lineWrapping: true,
readOnly: true,
mode: mode
});
});
if ($('#sourcecode').length) {
var mode = $('#sourcecode').attr('language');
CodeMirror.fromTextArea(document.getElementById("sourcecode"), {
lineNumbers: true,
matchBrackets: true,
lineWrapping: true,
readOnly: true,
mode: mode
});
};
});