Skip to content

Commit

Permalink
Fixed issue: Survey title column too narrow in surveylist
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Feb 15, 2016
1 parent f23a401 commit 2a9d070
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions application/views/admin/survey/listSurveys_view.php
Expand Up @@ -67,78 +67,78 @@
'header' => gT('Survey ID'),
'name' => 'survey_id',
'value'=>'$data->sid',
'htmlOptions' => array('class' => 'col-md-1 hidden-xs'),
'htmlOptions' => array('class' => 'hidden-xs'),
),

array(
'header' => gT('Title'),
'name' => 'title',
'value'=>'$data->defaultlanguage->surveyls_title',
'htmlOptions' => array('class' => 'col-md-1'),
'htmlOptions' => array('class' => 'col-md-4'),
),

array(
'header' => gT('Created'),
'name' => 'creation_date',
'value'=>'$data->creationdate',
'htmlOptions' => array('class' => 'col-md-1 hidden-xs'),
'htmlOptions' => array('class' => 'hidden-xs'),
),

array(
'header' => gT('Owner'),
'name' => 'owner',
'value'=>'$data->owner->users_name',
'htmlOptions' => array('class' => 'col-md-1 hidden-xs'),
'htmlOptions' => array('class' => 'hidden-xs'),
),

array(
'header' => gT('Anonymized responses'),
'name' => 'anonymized_responses',
'value'=>'$data->anonymizedResponses',
'htmlOptions' => array('class' => 'col-md-1 hidden-xs'),
'htmlOptions' => array('class' => 'hidden-xs'),
),

array(
'header' => gT('Active'),
'name' => 'active',
'value'=>'$data->activeWord',
'htmlOptions' => array('class' => 'col-md-1 hidden-xs'),
'htmlOptions' => array('class' => 'hidden-xs'),
),

array(
'header' => gT('Partial'),
'name' => 'partial',
'value'=>'$data->countPartialAnswers',
'htmlOptions' => array('class' => 'col-md-1'),
'htmlOptions' => array('class' => ''),
),

array(
'header' => gT('Full'),
'name' => 'full',
'value'=>'$data->countFullAnswers',
'htmlOptions' => array('class' => 'col-md-1'),
'htmlOptions' => array('class' => ''),
),

array(
'header' => gT('Total'),
'name' => 'total',
'value'=>'$data->countTotalAnswers',
'htmlOptions' => array('class' => 'col-md-1'),
'htmlOptions' => array('class' => ''),
),

array(
'header' => gT('Uses tokens'),
'name' => 'uses_tokens',
'value'=>'$data->hasTokens',
'htmlOptions' => array('class' => 'col-md-1'),
'htmlOptions' => array('class' => ''),
),

array(
'header' => '',
'name' => 'actions',
'value'=>'$data->buttons',
'type'=>'raw',
'htmlOptions' => array('class' => 'col-md-1'),
'htmlOptions' => array('class' => ''),
),

),
Expand Down
10 changes: 5 additions & 5 deletions application/views/admin/survey/surveySummary_view.php
Expand Up @@ -299,7 +299,7 @@
</p>

<p>
<strong><?php echo gT("Survey URL");?> :</strong><br/>
<strong><?php echo gT("Survey URL");?>:</strong><br/>
<small><em><?php echo getLanguageNameFromCode($surveyinfo['language'],false); ?></em></small><br/>
<?php $tmp_url = $this->createAbsoluteUrl("survey/index",array("sid"=>$surveyinfo['sid'],"lang"=>$surveyinfo['language'])); ?>
<?php
Expand All @@ -320,15 +320,15 @@

<!-- Title -->
<tr>
<th class="col-md-4"><?php eT("Title");?>:</th>
<th class="col-md-3"><?php eT("Title");?>:</th>
<th><?php echo flattenText($surveyinfo['surveyls_title'])." (".gT("ID")." ".$surveyinfo['sid'].")";?></th>
</tr>
</thead>

<!-- Survey URL -->
<tr>
<td>
<strong> <?php echo gT("Survey URL");?> :</strong>
<strong> <?php echo gT("Survey URL");?>:</strong>
</td>
<td>
</td>
Expand All @@ -337,7 +337,7 @@
<!-- Base language -->
<tr>
<td style="border-top: none; padding-left: 2em">
<small><?php echo getLanguageNameFromCode($surveyinfo['language'],false); ?></small>
<small><?php echo getLanguageNameFromCode($surveyinfo['language'],false); ?>:</small>
</td>
<td style="border-top: none;" >
<?php $tmp_url = $this->createAbsoluteUrl("survey/index",array("sid"=>$surveyinfo['sid'],"lang"=>$surveyinfo['language'])); ?>
Expand Down Expand Up @@ -370,7 +370,7 @@

<!-- Survey's texts -->
<tr>
<td><strong><?php eT("Survey texts");?> :</strong></td>
<td><strong><?php eT("Survey texts");?>:</strong></td>
<td></td>
</tr>

Expand Down

0 comments on commit 2a9d070

Please sign in to comment.