Browse Source

Merge branch '7.x' of github.com:Islandora/islandora into 7.x

pull/556/head
MorganDawe 10 years ago
parent
commit
10cb2c3dfb
  1. 2
      includes/ingest.form.inc
  2. 2
      islandora.module
  3. 2
      tests/scripts/travis_setup.sh

2
includes/ingest.form.inc

@ -799,7 +799,7 @@ function islandora_ingest_form_submit(array $form, array &$form_state) {
WATCHDOG_ERROR WATCHDOG_ERROR
); );
drupal_set_message( drupal_set_message(
t('A problem occured while ingesting "@label" (ID: @pid), please notifiy the administrator.', t('A problem occured while ingesting "@label" (ID: @pid), please notify the administrator.',
array('@label' => $object->label, '@pid' => $object->id)), array('@label' => $object->label, '@pid' => $object->id)),
'error' 'error'
); );

2
islandora.module

@ -1940,6 +1940,8 @@ function islandora_menu_local_tasks_alter(&$data, $router_item, $root_path) {
if ($tab['#link']['path'] == 'islandora/object/%/print_object') { if ($tab['#link']['path'] == 'islandora/object/%/print_object') {
if ($root_path == 'islandora/object/%') { if ($root_path == 'islandora/object/%') {
$islandora_path = drupal_get_path('module', 'islandora'); $islandora_path = drupal_get_path('module', 'islandora');
$tab['#prefix'] = '<li>';
$tab['#suffix'] = '</li>';
$tab['#theme'] = 'link'; $tab['#theme'] = 'link';
$tab['#text'] = theme('image', array( $tab['#text'] = theme('image', array(
'path' => "$islandora_path/images/print-icon.png", 'path' => "$islandora_path/images/print-icon.png",

2
tests/scripts/travis_setup.sh

@ -39,7 +39,7 @@ mv sites/all/modules/islandora/tests/travis.test_config.ini sites/all/modules/is
mkdir sites/all/libraries mkdir sites/all/libraries
ln -s $HOME/tuque sites/all/libraries/tuque ln -s $HOME/tuque sites/all/libraries/tuque
drush dl --yes coder drush dl --yes coder
drush dl --yes potx drush dl --yes potx-7.x-1.0
drush en --yes coder_review drush en --yes coder_review
drush en --yes simpletest drush en --yes simpletest
drush en --yes potx drush en --yes potx

Loading…
Cancel
Save