Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Merged
Merge request !62 opened Apr 16, 2014 by Bach Dániel@bachdaniel 
  • Report abuse
Report abuse

Feature Template Wizard

⚠ pip install and migrate required

django-admin.py makemessages -d djangojs -l hu --settings=circle.settings.local --ignore=jsi18n/* python manage.py compilejsi18n --settings=circle.settings.local -o dashboard/static/jsi18n -l hu python manage.py compilejsi18n --settings=circle.settings.local -o dashboard/static/jsi18n -l en

  • Discussion 8
  • Commits 48
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Kálmán Viktor
    @kviktor started a discussion on commit b2953fc4 Apr 02, 2014
    • Kálmán Viktor @kviktor commented Apr 02, 2014
      Owner

      This is not clone, it has been fixed since yesterday.

      This is not clone, it has been fixed since yesterday.
    Please register or sign in to reply
  • Kálmán Viktor
    @kviktor started a discussion on commit 3de47528 Apr 02, 2014
    circle/dashboard/views.py
    776 def get(self, *args, **kwargs):
    777 if not self.request.user.has_perm('vm.create_template'):
    778 raise PermissionDenied()
    779
    780 return super(TemplateClone, self).get(*args, **kwargs)
    781
    782 def post(self, request, *args, **kwargs):
    783 if not self.request.user.has_perm('vm.create_template'):
    784 raise PermissionDenied()
    785
    786 form = self.form_class(request.POST, clone_from=kwargs['pk'],
    787 user=request.user)
    788 if not form.is_valid():
    789 return self.get(request, form, *args, **kwargs)
    790 else:
    791 # clone template
    • Kálmán Viktor @kviktor commented Apr 02, 2014
      Owner

      Templates's clone method is wip in another branch. removed

      Edited May 06, 2014
      ~~Templates's clone method is wip in another branch.~~ removed
    Please register or sign in to reply
  • Kálmán Viktor
    @kviktor started a discussion on commit cfac8389 Apr 17, 2014
    • Kálmán Viktor @kviktor commented Apr 17, 2014
      Owner

      python manage.py compilejsi18n --settings=circle.settings.local -o dashboard/static/jsi18n -l hu

      python manage.py compilejsi18n --settings=circle.settings.local -o dashboard/static/jsi18n -l hu
    Please register or sign in to reply
  • Kálmán Viktor @kviktor

    mentioned in issue #53 (closed)

    May 04, 2014

    mentioned in issue #53 (closed)

    mentioned in issue #53
    Toggle commit list
  • Kálmán Viktor @kviktor commented May 06, 2014
    Owner

    @gubasandor @bachdaniel please test it (devenv: 103)

    @gubasandor @bachdaniel please test it (devenv: 103)
  • Guba Sándor @gubasandor commented May 06, 2014
    Owner

    👍

    :+1:
  • Bach Dániel @bachdaniel commented May 06, 2014
    Owner

    👍

    :+1:
  • Őry Máté
    @orymate started a discussion on an old version of the diff May 07, 2014
    circle/dashboard/views.py
    830
    831 def get_template_names(self):
    832 if self.request.is_ajax():
    833 return ['dashboard/modal-wrapper.html']
    834 else:
    835 return ['dashboard/nojs-wrapper.html']
    836
    837 def get_context_data(self, *args, **kwargs):
    838 context = super(TemplateChoose, self).get_context_data(*args, **kwargs)
    839 templates = InstanceTemplate.get_objects_with_level("operator",
    840 self.request.user)
    841 context.update({
    842 'box_title': _('Choose template'),
    843 'ajax_title': False,
    844 'template': "dashboard/_template-create-1.html",
    845 'templates': templates.all(), # TODO acl?
    • Őry Máté @orymate commented May 07, 2014
      Owner

      please implement this before merge

      please implement this before merge
    Please register or sign in to reply
  • Őry Máté
    @orymate started a discussion on an old version of the diff May 07, 2014
    requirements/local.txt
    3 3 coverage==3.7.1
    4 4 django-debug-toolbar==1.1
    5 5 Sphinx==1.2.2
    6 django-statici18n==1.1
    • Őry Máté @orymate commented May 07, 2014
      Owner

      why is this local?!

      why is this local?!
    Please register or sign in to reply
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Kálmán Viktor
Assignee
Kálmán Viktor @kviktor
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
4
4 participants
Reference: circle/cloud!62