1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Clicking "View" while editing takes you to the current view page

This commit is contained in:
Daniel Heath 2018-01-29 22:17:20 +11:00
parent 0badf719e0
commit e1934b9797
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -537,7 +537,7 @@ body#pad textarea {
</li>-->
<li class="pure-menu-item pure-menu-has-children pure-menu-allow-hover {{ with .ViewPage }}pure-menu-selected{{ end }}">
<a href="#" id="menuLink1" class="pure-menu-link">View</a>
<a href="/{{ .Page }}/view" class="pure-menu-link">View</a>
<ul class="pure-menu-children">
<li class="pure-menu-item">
<a href="/{{ .Page }}/read" class="pure-menu-link">Current</a>