Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Bug #94, Simplify site navigation in layout_oueep_2019 template [EUD]
Browse files Browse the repository at this point in the history
  • Loading branch information
nfreear authored and iet-admin committed Aug 30, 2019
1 parent 0eb9381 commit fcb25a7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ node_modules/*
* copy*
*OLD*
*ORIG*
*BAK*
*.log
*.mo

Expand All @@ -44,7 +45,6 @@ _docs/*

# *min.js


# New for 2016 (gae)

application/_data
Expand All @@ -54,5 +54,4 @@ composer.lock
app.yaml
php.ini


#End.
# End.
3 changes: 2 additions & 1 deletion application/controllers/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class About extends MY_Controller {

#const LAYOUT = 'ouice_2';
// const LAYOUT = 'ouice_2';


public function index() {
Expand Down Expand Up @@ -38,6 +38,7 @@ public function links() {
$rev = $this->gitlib->get_revision();

$view_data = array(
'page_title' => 'Useful links',
'is_ouembed' => $this->_is_ouembed(),
'is_live' => $this->_is_live(),
'is_demo_page' => FALSE,
Expand Down
10 changes: 6 additions & 4 deletions application/views/about/links.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<h2>Useful Links</h2>
<!-- <h2>Useful Links</h2> -->

<ul>
<li><a href="http://www2.open.ac.uk/study/support/disability/orientation">Services for disabled students</a></li>
<li><a href="http://podcast.open.ac.uk/">OU Podcasts</a></li>
<li><a href="http://www.open.edu/itunes/">iTunes U</a></li>
<li><a href="https://www2.open.ac.uk/study/support/disability/orientation">Services for disabled students</a></li>
<li><a href="https://podcast.open.ac.uk/">OU Podcasts</a></li>
<li><a href="https://www.open.edu/itunes/">iTunes U</a></li>
</ul>

10 changes: 8 additions & 2 deletions application/views/site_layout/layout_oueep_2019.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,15 +235,21 @@
<?php if ($is_ouembed): ?>
<li class='all ou-nav-inactive'><a href="<?= $base_url ?>demo/ouldi"><span>OU/OULDI embeds</spam></a></li>
<?php endif; ?>
<li class='all ou-nav-inactive'><a href="https://iet-ou.github.io/open-media-player/" title="<?= site_name() ?> – the open source project" rel="external"><span>Project</spam></a></li>
<?php if (! $is_live): ?>
<li class='all ou-nav-inactive'><a href="<?= $base_url ?>test_area" rel="nofollow"><span> Test Area </span></a>
<?php endif; ?>
<li class='all ou-nav-inactive'><a href="<?= $base_url ?>about/links" title="Useful Links"><span> Useful Links </span></a>
<?php /*
<li class='all ou-nav-inactive'><a href="https://iet-ou.github.io/open-media-player/" title="<?= site_name() ?> – the open source project" rel="external"><span>Project</spam></a></li>
<!--
- https://web.archive.org/web/20170301223130/http://www.open.ac.uk/blogs/LTT_IET/category/open-media-player/
- https://nick.freear.org.uk/2015/08/20/introducing-open-media-player.html
<li class='all ou-nav-inactive'><a href="<?= OUP_BLOG_URL ?>"><span>Blog</spam></a></li>
*/ ?>
-->
<li class='all ou-nav-inactive'><a href="https://www.open.ac.uk/disability/" title="Services for disabled students – external OU" rel="external"><span>Disabled serices</spam></a></li>
<li class='all ou-nav-inactive'><a href="https://podcast.open.ac.uk/" title="Open University Podcasts – external OU" rel="external"><span>OU Podcasts</spam></a></li>
<li class='all ou-nav-inactive'><a href="https://www.open.edu/itunes/" title="The Open University on iTunes U – external OU" rel="external"><span>iTunes U</spam></a></li>
*/ ?>
</ul>
</div>

Expand Down

0 comments on commit fcb25a7

Please sign in to comment.