Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added link to textview instead of listing on front page
- Loading branch information
1 parent
e56c363
commit 83b4d12
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
h1 lit | ||
|
||
!= messages() | ||
|
||
- if (count) | ||
p Display all #{count} text(s) | ||
ul#texts | ||
- each text in texts | ||
a.view(href=base + '/text/' + text.id) | ||
li= text.title | ||
p | ||
| Click | ||
a(href=base + '/text/add') here | ||
| to add another text. | ||
- else | ||
p | ||
| It looks like you have no texts! | ||
p | ||
| Click | ||
a(href=base + '/text/add') here | ||
| to create a text. |