Merge remote-tracking branch 'torchbox/master'

pull/46/head
Karl Hobley 2014-02-14 13:09:48 +00:00
commit 6be0534571
3 zmienionych plików z 34 dodań i 1 usunięć

28
.travis.yml 100644
Wyświetl plik

@ -0,0 +1,28 @@
# Python releases to test
language: python
python:
- 2.7
# Django releases
env:
- DJANGO_VERSION=Django==1.6.1
# Services
services:
- redis-server
- elasticsearch
# Package installation
install:
- python setup.py install
- pip install psycopg2 pyelasticsearch elasticutils
# Pre-test configuration
before_script:
- psql -c 'create database wagtaildemo;' -U postgres
# Run the tests
script: python runtests.py
# Who to notify about build results
notifications:
email:
recipients:
- wagtail-ci@torchbox.com
on_success: change
on_failure: always

Wyświetl plik

@ -1,3 +1,8 @@
|BuildStatus|_
.. |BuildStatus| image:: https://travis-ci.org/torchbox/wagtail.png?branch=master
.. _BuildStatus: https://travis-ci.org/torchbox/wagtail
Wagtail CMS
===========

Wyświetl plik

@ -11,7 +11,7 @@
<li><a href="{% url 'wagtailadmin_pages_select_type' %}" class="icon teal icon-plus-inverse">New page</a></li>
{% endcomment %}
<li class="footer">
<div class="avatar icon icon-user"><a href="{% url 'wagtailadmin_account' %}" title="Account settings">{% if request.user.email %}<img src="{% gravatar_url request.user.email %}" />{% else %}Account{% endif %}</a></div>
<div class="avatar icon icon-user"><a href="{% url 'wagtailadmin_account' %}" title="Account settings">{% if request.user.email %}<img src="{% gravatar_url request.user.email %}" />{% endif %}</a></div>
<a href="{% url 'django.contrib.auth.views.logout' %}">Log out</a>
</li>
{% if request.user.is_superuser %} {# for now, 'More' links will be superuser-only #}