@@ 91-101 (lines=11) @@ | ||
88 | * |
|
89 | * @return \Illuminate\View\View |
|
90 | */ |
|
91 | public function index() |
|
92 | { |
|
93 | $projects = Project::orderBy('order')->orderBy('created_at')->get(); |
|
94 | ||
95 | $this->subMenu['yours']['active'] = true; |
|
96 | ||
97 | return View::make('dashboard.projects.index') |
|
98 | ->withPageTitle(trans_choice('dashboard.projects.projects', 2).' - '.trans('dashboard.dashboard')) |
|
99 | ->withProjects($projects) |
|
100 | ->withSubMenu($this->subMenu); |
|
101 | } |
|
102 | ||
103 | public function starred() |
|
104 | { |
|
@@ 103-113 (lines=11) @@ | ||
100 | ->withSubMenu($this->subMenu); |
|
101 | } |
|
102 | ||
103 | public function starred() |
|
104 | { |
|
105 | ||
106 | $projects = Project::orderBy('order')->orderBy('created_at')->get(); |
|
107 | ||
108 | $this->subMenu['starred']['active'] = true; |
|
109 | ||
110 | return View::make('dashboard.projects.index') |
|
111 | ->withPageTitle(trans_choice('dashboard.projects.projects', 2).' - '.trans('dashboard.dashboard')) |
|
112 | ->withProjects($projects) |
|
113 | ->withSubMenu($this->subMenu); |
|
114 | } |
|
115 | ||
116 | /** |
@@ 75-83 (lines=9) @@ | ||
72 | * |
|
73 | * @return \Illuminate\View\View |
|
74 | */ |
|
75 | public function index() |
|
76 | { |
|
77 | $this->subMenu['yours']['active'] = true; |
|
78 | ||
79 | return View::make('dashboard.groups.index') |
|
80 | ->withPageTitle(trans_choice('gitamin.groups.groups', 2).' - '.trans('dashboard.dashboard')) |
|
81 | ->withTeams(ProjectTeam::orderBy('order')->get()) |
|
82 | ->withSubMenu($this->subMenu); |
|
83 | } |
|
84 | } |
|
85 |