Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refactores decribe, describe_license and describe_pack views
- Loading branch information
Showing
5 changed files
with
55 additions
and
86 deletions.
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
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
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 |
---|---|---|
@@ -1,16 +1,28 @@ | ||
{% load filefunctions %} | ||
{% if file.is_dir %} | ||
<li class="dirnode">{{file.name}} (<a id="select_all" href="#" onclick="select_ul(this)">select all</a>) | ||
<ul> | ||
{% if not non_recursive %} | ||
{% if file.is_dir %} | ||
<li class="dirnode">{{file.name}} (<a id="select_all" href="#" onclick="select_ul(this)">select all</a>) | ||
<ul> | ||
{% for child in file.children %} | ||
{% show_file child %} | ||
{% endfor %} | ||
</ul> | ||
</li> | ||
{% else %} | ||
<li class="filenode"> | ||
<span class="filename"> | ||
<input class="filecheckbox" type="checkbox" name="{{file.id}}" onchange="checkboxChange(this);"><strong>{{file.name}}</strong> | ||
</span> | ||
</li> | ||
{% endif %} | ||
{% else %} | ||
<ul> <a id="select_all" href="#" onclick="select_ul(this)">select all</a> | ||
{% for child in file.children %} | ||
{% show_file child %} | ||
<li class="filenode"> | ||
<span class="filename"> | ||
<input class="filecheckbox" type="checkbox" name="{{child.id}}" onchange="checkboxChange(this);"><strong>{{child.name}}</strong> | ||
</span> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</li> | ||
{% else %} | ||
<li class="filenode"> | ||
<span class="filename"> | ||
<input class="filecheckbox" type="checkbox" name="{{file.id}}" onchange="checkboxChange(this);"><strong>{{file.name}}</strong> | ||
</span> | ||
</li> | ||
{% endif %} | ||
{% endif %} |
added by error?