public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gentoo-packages:master commit in: gpackages/templates/modals/, gpackages/apps/packages/templatetags/, ...
@ 2012-08-02 22:44 Slava Bacherikov
  0 siblings, 0 replies; only message in thread
From: Slava Bacherikov @ 2012-08-02 22:44 UTC (permalink / raw
  To: gentoo-commits

commit:     82363234ce533f66c13413ca154c5b620149d31d
Author:     Slava Bacherikov <slava <AT> bacher09 <DOT> org>
AuthorDate: Thu Aug  2 13:10:11 2012 +0000
Commit:     Slava Bacherikov <slava <AT> bacherikov <DOT> org <DOT> ua>
CommitDate: Thu Aug  2 13:11:05 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=commit;h=82363234

Move modals to special subdir

---
 gpackages/apps/packages/templatetags/packages.py   |    4 ++--
 .../templates/{ => modals}/arch_choice_modal.html  |    0
 .../templates/{ => modals}/filtering_modal.html    |    0
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gpackages/apps/packages/templatetags/packages.py b/gpackages/apps/packages/templatetags/packages.py
index 77e0f65..08a7098 100644
--- a/gpackages/apps/packages/templatetags/packages.py
+++ b/gpackages/apps/packages/templatetags/packages.py
@@ -61,7 +61,7 @@ def recent_ebuilds(num = 10):
                        prefetch_related('package__repository')[:num]
     return {'ebuilds': query}
 
-@register.inclusion_tag('arch_choice_modal.html', takes_context = True)
+@register.inclusion_tag('modals/arch_choice_modal.html', takes_context = True)
 def arch_choice_modal(context):
     request = context['request']
     arches_s = request.session.get('arches')
@@ -69,7 +69,7 @@ def arch_choice_modal(context):
     initial = {'arches': arches_s, 'next' : request.path}
     return {'form': ArchChoiceForm(initial = initial), 'arches': arches_s}
 
-@register.inclusion_tag('filtering_modal.html', takes_context = True)
+@register.inclusion_tag('modals/filtering_modal.html', takes_context = True)
 def filtering_modal(context):
     filters = context.get('filters_dict')
     initial = {}

diff --git a/gpackages/templates/arch_choice_modal.html b/gpackages/templates/modals/arch_choice_modal.html
similarity index 100%
rename from gpackages/templates/arch_choice_modal.html
rename to gpackages/templates/modals/arch_choice_modal.html

diff --git a/gpackages/templates/filtering_modal.html b/gpackages/templates/modals/filtering_modal.html
similarity index 100%
rename from gpackages/templates/filtering_modal.html
rename to gpackages/templates/modals/filtering_modal.html


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-02 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02 22:44 [gentoo-commits] proj/gentoo-packages:master commit in: gpackages/templates/modals/, gpackages/apps/packages/templatetags/, Slava Bacherikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox