##// END OF EJS Templates
integrations: fixed view for integrations on repo.
marcink -
r3739:a3405fba new-ui
parent child Browse files
Show More
@@ -402,7 +402,8 b' class RepoIntegrationsView(IntegrationSe'
402 c.rhodecode_db_repo = self.repo
402 c.rhodecode_db_repo = self.repo
403 c.repo_name = self.db_repo.repo_name
403 c.repo_name = self.db_repo.repo_name
404 c.repository_pull_requests = ScmModel().get_pull_requests(self.repo)
404 c.repository_pull_requests = ScmModel().get_pull_requests(self.repo)
405
405 c.repository_is_user_following = ScmModel().is_following_repo(
406 c.repo_name, self._rhodecode_user.user_id)
406 c.has_origin_repo_read_perm = False
407 c.has_origin_repo_read_perm = False
407 if self.db_repo.fork:
408 if self.db_repo.fork:
408 c.has_origin_repo_read_perm = h.HasRepoPermissionAny(
409 c.has_origin_repo_read_perm = h.HasRepoPermissionAny(
General Comments 0
You need to be logged in to leave comments. Login now