WIP: Road to 1.0.0 #1

Draft
miguel456 wants to merge 123 commits from develop into master
3 changed files with 6 additions and 2 deletions
Showing only changes of commit 6518ad3447 - Show all commits

View File

@ -39,11 +39,13 @@ class Options
} }
Cache::put($option, $value); Cache::put($option, $value);
Cache::put($option.'_desc', 'Undefined description'); Cache::put($option.'_desc', 'Undefined description');
}
return $value->option_value; return $value->option_value;
} }
return $value;
}
public function setOption(string $option, string $value, string $description) public function setOption(string $option, string $value, string $description)
{ {
Option::create([ Option::create([

View File

@ -37,6 +37,8 @@ class Team extends TeamworkTeam
return $this->belongsToMany('App\Vacancy', 'team_has_vacancy'); return $this->belongsToMany('App\Vacancy', 'team_has_vacancy');
} }
public function files() public function files()
{ {
return $this->hasMany('App\TeamFile', 'team_id'); return $this->hasMany('App\TeamFile', 'team_id');

View File

@ -348,7 +348,7 @@
<div class="col text-center"> <div class="col text-center">
<button type="button" class="btn btn-primary" onclick="window.location.href='{{route('staffPendingApps')}}'">{{__('messages.view_app.view_more')}}</button> <button type="button" class="btn btn-primary" onclick="window.location.href='{{route('allApplications')}}'">{{__('messages.view_app.view_more')}}</button>
</div> </div>