Merge pull request #331 from ladybirdweb/analysis-zYokO0

Apply fixes from StyleCI
This commit is contained in:
Manish Verma
2016-12-05 16:10:49 +05:30
committed by GitHub
4 changed files with 14 additions and 10 deletions

View File

@@ -1523,6 +1523,7 @@ class TicketController extends Controller
} }
} }
} }
return 1; return 1;
} }
@@ -2556,12 +2557,13 @@ class TicketController extends Controller
$name = $from->user_name; $name = $from->user_name;
} }
} }
$color = ""; $color = '';
if ($verify->status == 1 || $verify->status == '1') { if ($verify->status == 1 || $verify->status == '1') {
if ($from->active == 0 || $from->active == '0') { if ($from->active == 0 || $from->active == '0') {
$color = "<i class='fa fa-exclamation-triangle'></i>"; $color = "<i class='fa fa-exclamation-triangle'></i>";
} }
} }
return "<a href='".$url."' title='".Lang::get('lang.see-profile1').' '.ucfirst($from->user_name).'&apos;'.Lang::get('lang.see-profile2')."'><span style='color:#508983'>".ucfirst(str_limit($name, 30)).' <span style="color:#f75959">'.$color.'</span></span></a>'; return "<a href='".$url."' title='".Lang::get('lang.see-profile1').' '.ucfirst($from->user_name).'&apos;'.Lang::get('lang.see-profile2')."'><span style='color:#508983'>".ucfirst(str_limit($name, 30)).' <span style="color:#f75959">'.$color.'</span></span></a>';
}) })
// ->addColumn('Last Replier', function ($ticket) { // ->addColumn('Last Replier', function ($ticket) {

View File

@@ -1006,7 +1006,9 @@ class UserController extends Controller
/** /**
* @category function to get user details and show in select field * @category function to get user details and show in select field
*
* @param null * @param null
*
* @return data * @return data
*/ */
public function getAgentDetails() public function getAgentDetails()