Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix template colspan #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions djangodav/templates/djangodav/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ <h1>Index of {{ resource.get_displaypath }}</h1>
<th>Last modified</th>
<th>Size</th>
</tr>
<tr><th colspan="5"><hr></th></tr>
<tr><th colspan="4"><hr></th></tr>
<tr>
<td><a href="{{ base_url }}{% if not resource.get_escaped_path %}/{% endif %}{{ resource.get_parent.get_escaped_path }}">Parent Directory</a></td>
<td colspan="4"><a href="{{ base_url }}{% if not resource.get_escaped_path %}/{% endif %}{{ resource.get_parent.get_escaped_path }}">Parent Directory</a></td>
</tr>
{% for child in resource.get_children %}
<tr>
Expand All @@ -44,7 +44,7 @@ <h1>Index of {{ resource.get_displaypath }}</h1>
<td align="right">{{ child.getcontentlength|filesizeformat }}</td>
</tr>
{% endfor %}
<tr><th colspan="5"><hr></th></tr>
<tr><th colspan="4"><hr></th></tr>
</table>
<p>DjangoDav - <a href="https://github.com/meteozond/djangodav/">https://github.com/meteozond/djangodav/</a></p>
</body>
Expand Down