diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -1166,7 +1166,7 @@ class Repository(Base, BaseModel): """ Mark caches of this repo as invalid. """ - CacheInvalidation.set_invalidate(repo_name=self.repo_name) + CacheInvalidation.set_invalidate(self.repo_name) def scm_instance_no_cache(self): return self.__get_instance() diff --git a/rhodecode/model/scm.py b/rhodecode/model/scm.py --- a/rhodecode/model/scm.py +++ b/rhodecode/model/scm.py @@ -105,8 +105,7 @@ class CachedRepoList(object): scmr = dbr.scm_instance_cached(cache_map) # check permission at this level if not HasRepoPermissionAny( - *self.perm_set - )(dbr.repo_name, 'get repo check'): + *self.perm_set)(dbr.repo_name, 'get repo check'): continue try: @@ -151,8 +150,7 @@ class SimpleCachedRepoList(CachedRepoLis for dbr in self.db_repo_list: # check permission at this level if not HasRepoPermissionAny( - *self.perm_set - )(dbr.repo_name, 'get repo check'): + *self.perm_set)(dbr.repo_name, 'get repo check'): continue tmp_d = {} diff --git a/rhodecode/public/css/contextbar.css b/rhodecode/public/css/contextbar.css --- a/rhodecode/public/css/contextbar.css +++ b/rhodecode/public/css/contextbar.css @@ -247,6 +247,7 @@ ul#context-actions { border-left: 1px solid rgba(255,255,255,0.1); padding: 0; } + #header #header-inner #quick li:last-child, #content #context-pages li:last-child { border-right: none; diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html --- a/rhodecode/templates/admin/repos/repo_edit.html +++ b/rhodecode/templates/admin/repos/repo_edit.html @@ -275,7 +275,7 @@ ${h.submit('set_unlock' ,_('Unlock locked repo'),class_="ui-btn",onclick="return confirm('"+_('Confirm to unlock repository')+"');")} ${'Locked by %s on %s' % (h.person_by_id(c.repo_info.locked[0]),h.fmt_date(h.time_to_datetime(c.repo_info.locked[1])))} %else: - ${h.submit('set_lock',_('lock repo'),class_="ui-btn",onclick="return confirm('"+_('Confirm to lock repository')+"');")} + ${h.submit('set_lock',_('Lock repo'),class_="ui-btn",onclick="return confirm('"+_('Confirm to lock repository')+"');")} ${_('Repository is not locked')} %endif @@ -293,7 +293,7 @@