diff --git a/.travis.yml b/.travis.yml index 59bada67..f75105ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,12 @@ python: - 2.7 env: - DJANGO_VERSION=1.4 SCIELOMANAGER_SETTINGS_FILE=`pwd`/scielomanager/scielomanager/settings_local.include -install: +before_install: - pip install --upgrade pip - pip install --upgrade setuptools - - pip install -r requirements.txt --use-mirrors - - pip install -r requirements-test.txt --use-mirrors +install: + - pip install -r requirements.txt + - pip install -r requirements-test.txt before_script: - cp scielomanager/scielomanager/settings_local.include-TEMPLATE scielomanager/scielomanager/settings_local.include - psql -c 'create database journalmanager;' -U postgres diff --git a/requirements.txt b/requirements.txt index d0f5e9a9..4e175c2a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ yuicompressor jsonfield django-tastypie==0.9.16 django-htmlmin==0.7.0 -packtools==1.1 +packtools==1.2 Celery django-celery django-kombu diff --git a/scielomanager/editorialmanager/templates/board/role_type_translate.html b/scielomanager/editorialmanager/templates/board/role_type_translate.html index 9b35c724..e1cb5383 100644 --- a/scielomanager/editorialmanager/templates/board/role_type_translate.html +++ b/scielomanager/editorialmanager/templates/board/role_type_translate.html @@ -96,6 +96,8 @@

$('#{{ formset.prefix }} tbody tr input').addClass('span12'); //multiple-formsets $('#{{ formset.prefix }} tbody tr').formset({ + addText: "{% trans 'add another' %}", + deleteText: "{% trans 'remove' %}", formCssClass: 'dynamic-{{ formset.prefix }}-form', prefix: '{{ formset.prefix }}' }); diff --git a/scielomanager/editorialmanager/templates/includes/journal_detail_info.html b/scielomanager/editorialmanager/templates/includes/journal_detail_info.html index f7b60345..33ab25e6 100644 --- a/scielomanager/editorialmanager/templates/includes/journal_detail_info.html +++ b/scielomanager/editorialmanager/templates/includes/journal_detail_info.html @@ -21,7 +21,7 @@

{{ journal.title }}

{{ journal.collections.all|join:', ' }}
  • - Download full board as CSV file + {% trans 'Download full board as CSV file' %}
  • {% modal 'Journal Details' %} diff --git a/scielomanager/editorialmanager/templates/journal/edit_journal.html b/scielomanager/editorialmanager/templates/journal/edit_journal.html index 080f02cc..1392af68 100644 --- a/scielomanager/editorialmanager/templates/journal/edit_journal.html +++ b/scielomanager/editorialmanager/templates/journal/edit_journal.html @@ -138,6 +138,8 @@

    {% trans "Editor" %}: