##// END OF EJS Templates
docs: added newline
docs: added newline

File last commit:

r5619:c9e499e7 default
r5656:629f48be default
Show More
settings_mapping.mako
45 lines | 1.8 KiB | application/x-mako | MakoHtmlLexer
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Import new repository groups and repositories')}</h3>
</div>
<div class="panel-body">
${h.secure_form(h.route_path('admin_settings_mapping_create'), request=request)}
<p>
${_('This function will scan all data under the current storage path location at')} <code>${c.storage_path}</code><br/>
${_('Each folder will be imported as a new repository group, and each repository found will be also imported to root level or corresponding repository group')}
</p>
<div class="checkbox">
${h.checkbox('invalidate',True)}
<label for="invalidate"> ${_('Invalidate cache for all repositories')}</label>
</div>
<span class="help-block">${_('Each cache data for repositories will be cleaned with this option selected. Use this to reload data and clear cache keys.')}</span>
<div class="buttons">
${h.submit('rescan',_('Scan filesystem'),class_="btn")}
</div>
${h.end_form()}
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Cleanup removed Repository Groups or Repositories')}</h3>
</div>
<div class="panel-body">
${h.secure_form(h.route_path('admin_settings_mapping_cleanup'), request=request)}
<p>
${_('This function will scan all data under the current storage path location at')} <code>${c.storage_path}</code>
${_('Then it will remove all repository groups and repositories that are no longer present in the filesystem.')}
</p>
<div class="buttons">
${h.submit('rescan',_('Cleanup filesystem'),class_="btn btn-danger")}
</div>
${h.end_form()}
</div>
</div>