Skip to content

Commit

Permalink
removed / from url and added internal dashboard link
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinit1990 committed Jul 25, 2023
1 parent 2a6014f commit 9b6a2e0
Show file tree
Hide file tree
Showing 127 changed files with 79,163 additions and 44 deletions.
3 changes: 2 additions & 1 deletion app/Controllers/Reporting.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ public function c_dashboard(){
}

$result= array();

if(!empty($this->uri->getSegment('4')) && $this->session->get('role')==1){
$result['country_id'] = $this->uri->getSegment('4');
}else{
Expand All @@ -418,7 +419,7 @@ public function c_dashboard(){
}
$result['country_id'] = $country_id;
}

return view('common/header', $result)
.view('dashboard/c_dashboard', $result)
.view('common/footer');
Expand Down
6 changes: 3 additions & 3 deletions app/Views/Landing.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ class="border-right pl-3"></span> <img src="<?php echo base_url(); ?>include/ass
<h4 class="title mb-0">Ethiopia</h4>
</div>
<div>
<a href="<?php echo base_url(); ?>login/" class="goDim cursor"> <img
<a href="<?php echo base_url(); ?>login" class="goDim cursor"> <img
src="<?php echo base_url(); ?>include/assets/images/Arrow_Right.svg"></a>
</div>
</div>
Expand All @@ -408,7 +408,7 @@ class="border-right pl-3"></span> <img src="<?php echo base_url(); ?>include/ass
<h4 class="title mb-0">Kenya </h4>
</div>
<div>
<a href="<?php echo base_url(); ?>login/" class="goDim cursor"> <img
<a href="<?php echo base_url(); ?>login" class="goDim cursor"> <img
src="<?php echo base_url(); ?>include/assets/images/Arrow_Right.svg"></a>
</div>
</div>
Expand All @@ -427,7 +427,7 @@ class="border-right pl-3"></span> <img src="<?php echo base_url(); ?>include/ass
<h4 class="title mb-0">Uganda</h4>
</div>
<div>
<a href="<?php echo base_url(); ?>login/" class="goDim cursor"> <img
<a href="<?php echo base_url(); ?>login" class="goDim cursor"> <img
src="<?php echo base_url(); ?>include/assets/images/Arrow_Right.svg"></a>
</div>
</div>
Expand Down
Loading

0 comments on commit 9b6a2e0

Please sign in to comment.