Skip to content

Commit

Permalink
Fixed issue #12118: Expiry date not referenced correctly at survey l…
Browse files Browse the repository at this point in the history
…ist overview (#646)

* changed icon also
  • Loading branch information
TonisOrmisson authored and LouisGac committed Mar 2, 2017
1 parent 65c80e0 commit f2bc186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Survey.php
Expand Up @@ -859,7 +859,7 @@ public function getRunning()
$sStart = convertToGlobalSettingFormat( $sStart );

// Icon generaton (for CGridView)
$sIconRunning = '<a href="'.App()->createUrl('/admin/survey/sa/view/surveyid/'.$this->sid).'" class="survey-state" data-toggle="tooltip" title="'.gT('Expire').': '.$sStop.'"><span class="fa fa-clock-o text-success"></span></a>';
$sIconRunning = '<a href="'.App()->createUrl('/admin/survey/sa/view/surveyid/'.$this->sid).'" class="survey-state" data-toggle="tooltip" title="'.gT('Expires').': '.$sStop.'"><span class="fa fa-play text-success"></span></a>';
$sIconExpired = '<a href="'.App()->createUrl('/admin/survey/sa/view/surveyid/'.$this->sid).'" class="survey-state" data-toggle="tooltip" title="'.gT('Expired').': '.$sStop.'"><span class="fa fa fa-step-forward text-warning"></span></a>';
$sIconFuture = '<a href="'.App()->createUrl('/admin/survey/sa/view/surveyid/'.$this->sid).'" class="survey-state" data-toggle="tooltip" title="'.gT('Start').': '.$sStart.'"><span class="fa fa-clock-o text-warning"></span></a>';

Expand Down

0 comments on commit f2bc186

Please sign in to comment.