Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.ethertoff
Commits
13da1aae
Commit
13da1aae
authored
Nov 18, 2019
by
alexandre
Browse files
Merge branch 'Issue14-have-read-as-default-view' into 'pad-management'
Fix
#14
Link by default to read-mode See merge request
!8
parents
ec2a06d4
edcb69ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
ethertoff/templates/all-public.html
View file @
13da1aae
...
...
@@ -4,7 +4,7 @@
{% block content %}
<ul
id=
"pads_list"
>
{% for pad in publicpads %}
<li><a
data-uid=
"{{ pad.display_slug }}"
href=
"{% url 'pad-
write
' slug=pad.display_slug %}"
class=
"pad-link"
>
{{ pad.display_slug|dewikify }}
</a></li>
<li><a
data-uid=
"{{ pad.display_slug }}"
href=
"{% url 'pad-
read' mode='r
' slug=pad.display_slug %}"
class=
"pad-link"
>
{{ pad.display_slug|dewikify }}
</a></li>
{% endfor %}
</ul>
{% endblock %}
ethertoff/templates/manage-tree.html
View file @
13da1aae
...
...
@@ -16,7 +16,7 @@
{% endfor %}
{% for pad in tree.pads %}
<li>
<a
data-uid=
"{{ pad.display_slug }}"
href=
"{% url 'pad-
write
' slug=pad.display_slug %}"
class=
"pad-link"
>
<a
data-uid=
"{{ pad.display_slug }}"
href=
"{% url 'pad-
read' mode='r
' slug=pad.display_slug %}"
class=
"pad-link"
>
{{ pad.display_slug|stripPath:folderPath|dewikify }}
{% if pad.is_public %}(public){% endif %}
</a>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment