# HG changeset patch # User Mads Kiilerich # Date 2017-01-06 01:43:50 # Node ID 184c78cfded19b707f556e49198030b465faf2b4 # Parent a04ff65be3f6b29fe361b5ba4d3f32523be7f475 repositories: drop last traces of quick_menu - it died when DataTables were introduced diff --git a/kallithea/model/repo.py b/kallithea/model/repo.py --- a/kallithea/model/repo.py +++ b/kallithea/model/repo.py @@ -181,9 +181,6 @@ class RepoModel(BaseModel): _render = self._render_datatable from pylons import tmpl_context as c - def quick_menu(repo_name): - return _render('quick_menu', repo_name) - def repo_lnk(name, rtype, rstate, private, fork_of): return _render('repo_name', name, rtype, rstate, private, fork_of, short_name=short_name, admin=False) @@ -225,7 +222,6 @@ class RepoModel(BaseModel): continue cs_cache = repo.changeset_cache row = { - "menu": quick_menu(repo.repo_name), "raw_name": repo.repo_name, "name": repo_lnk(repo.repo_name, repo.repo_type, repo.repo_state, repo.private, repo.fork), diff --git a/kallithea/templates/data_table/_dt_elements.html b/kallithea/templates/data_table/_dt_elements.html --- a/kallithea/templates/data_table/_dt_elements.html +++ b/kallithea/templates/data_table/_dt_elements.html @@ -4,54 +4,6 @@ <%namespace name="base" file="/base/base.html"/> -<%def name="quick_menu(repo_name)"> -