Fixed body field in organization content type

This commit is contained in:
Manuel Cillero 2017-09-03 13:10:21 +02:00
parent 7d5864b347
commit f919b88f58
7 changed files with 25 additions and 31 deletions

View file

@ -490,7 +490,7 @@ function zuitedesk_table($header, $rows, $attributes = array(), $caption = NULL)
if (!in_array($attributes['id'], array('tasks'))) {
$attributes['class'] = 'table table-condensed' . (!empty($attributes['class']) ? ' ' . $attributes['class'] : '');
}
if (arg(0) == 'admin' || in_array($attributes['id'], array('stormorganizations', 'stormpeople', 'stormteams', 'stormprojects', 'tasks', 'stormtasks', 'stormtickets', 'stormnotes', 'stormideas', 'stormdoks', 'stormtimetrackings', 'stormevents', 'stormtrash', 'twatcher'))) {
if (arg(0) == 'admin' || in_array($attributes['id'], array('attributes', 'stormorganizations', 'stormpeople', 'stormteams', 'stormprojects', 'tasks', 'stormtasks', 'stormtickets', 'stormnotes', 'stormideas', 'stormdoks', 'stormtimetrackings', 'stormevents', 'stormtrash', 'twatcher'))) {
$attributes['class'] .= ' table-hover';
return '<div class="table-responsive">' . theme_table($header, $rows, $attributes, $caption) . '</div>';
}