kopia lustrzana https://github.com/magicbug/Cloudlog
Added submenu to notes and improved notice if no notes exist
rodzic
076866bf77
commit
77e12484c0
|
@ -198,4 +198,15 @@
|
|||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($this->uri->segment(1) == "notes") { ?>
|
||||
<div id="subnav">
|
||||
<ul id="sublist">
|
||||
<li class="ui-corner-all"><a href="<?php echo site_url('notes');?>" title="Note">Notes</a></li>
|
||||
</ul>
|
||||
<ul id="sublist">
|
||||
<li class="ui-corner-all"><a href="<?php echo site_url('notes/add');?>" title="Add a note">Add Note</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div id="clear" class="clear"></div>
|
|
@ -14,11 +14,9 @@
|
|||
}
|
||||
echo "</ul>";
|
||||
} else {
|
||||
echo "<p>You have no notes, why not create one!</p>";
|
||||
echo "<p>You don’t currently have any notes, these are a fantastic way of storing data like ATU settings, beacons and general station notes and its better than paper as you can’t lose them!</p>";
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<p><a href="<?php echo site_url('notes/add'); ?>" title="Add Note">Create a Note</a></p>
|
||||
|
||||
</div>
|
Ładowanie…
Reference in New Issue