##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r518:9f9ffd3a default
r2791:27d869d5 stable
Show More
sequence.pt
23 lines | 698 B | text/plain | TextLexer
<div tal:define="
item_tmpl item_template|field.widget.readonly_item_template;
oid oid|field.oid;
name name|field.name;
title title|field.title;"
class="deform-seq"
id="${oid}">
<div class="panel panel-default">
<div class="panel-heading">${title}</div>
<div class="panel-body">
<div class="deform-seq-container">
<div tal:define="subfields [ x[1] for x in subfields ]"
tal:repeat="subfield subfields"
tal:replace="structure subfield.render_template(item_tmpl,
parent=field)" />
</div>
<div style="clear: both"></div>
</div>
</div>
</div>