Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made default new item menu customizable as a DemeSetting, and created…
… the 'new other' page that contains all possible item types to create.
- Loading branch information
Showing
5 changed files
with
63 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% extends layout %} | ||
{% load item_tags %} | ||
{% block content %} | ||
|
||
{% for x in all_item_types_can_create %} | ||
<div> | ||
<a href="{{ x.url }}" class="img_link"><img src="{{x.item_type|icon_url:16}}" />New {% item_type_verbose_name x.item_type %}</a> | ||
</div> | ||
{% endfor %} | ||
|
||
{% endblock content %} | ||
|
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