##// END OF EJS Templates
caches: use .refresh() instead of .invalidate()...
caches: use .refresh() instead of .invalidate() - .invalidate() does a delete of cached valued under a key, which means in previous logic we delete, get_or_create, and compute. - .refresh() is simply replacing exising key with newly computed values, this creates less locks, and it's faster.

File last commit:

r2565:d8fc1e62 default
r2939:913f92bf default
Show More
repo_edit_automation.mako
9 lines | 508 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / admin / repos / repo_edit_automation.mako
repo-automation: added placeholder for EE feature.
r2565 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Repo Automation')}</h3>
</div>
<div class="panel-body">
<h4>${_('This feature is available in RhodeCode EE edition only. Contact {sales_email} to obtain a trial license.').format(sales_email='<a href="mailto:sales@rhodecode.com">sales@rhodecode.com</a>')|n}</h4>
<img style="width: 100%; height: 100%" src="${h.asset('images/ee_features/repo_automation.png')}"/>
</div>
</div>