Added submenu to notes and improved notice if no notes exist
这个提交包含在:
父节点
076866bf77
当前提交
77e12484c0
共有 2 个文件被更改,包括 12 次插入 和 3 次删除
|
|
@ -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>
|
||||
正在加载…
在新工单中引用