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 !177 opened Sep 02, 2014 by Kálmán Viktor@kviktor 
  • Report abuse
Report abuse

Link base template of instances

  • Discussion 2
  • Commits 2
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Őry Máté
    @orymate started a discussion on an old version of the diff Sep 02, 2014
    circle/dashboard/views.py
    349 349 context['can_change_resources'] = self.request.user.has_perm(
    350 350 "vm.change_resources")
    351 351  
    352 # can link template
    353 context['can_link_template'] = (
    354 instance.template.has_level(user, "operator")
    355 if instance.template else False
    • Őry Máté @orymate commented Sep 02, 2014
      Owner

      instance.template and instance.template.has_level(user, "operator") ?

      `instance.template and instance.template.has_level(user, "operator")` ?
    Please register or sign in to reply
  • Őry Máté @orymate commented Sep 02, 2014
    Owner

    +1

    +1
  • 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
Őry Máté
Assignee
Őry Máté @orymate
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
2
2 participants
Reference: circle/cloud!177