Commit 7eafdcc5 authored by Shane Hathaway's avatar Shane Hathaway

Show the indexed attribute names only if different from the ID of the index.

parent a46be1ec
...@@ -133,7 +133,12 @@ function toggleSelect() { ...@@ -133,7 +133,12 @@ function toggleSelect() {
<a href="Indexes/&dtml.url_quote-sequence-key;/manage_workspace"> <a href="Indexes/&dtml.url_quote-sequence-key;/manage_workspace">
&dtml-sequence-key; &dtml-sequence-key;
<dtml-try> <dtml-try>
(indexed attrs: <dtml-var "', '.join(_['sequence-item'].getIndexSourceNames())">) <dtml-let source_names="_['sequence-item'].getIndexSourceNames()">
<dtml-if expr="_.len(source_names) != 1
or source_names[0] != _['sequence-key']">
(indexed attributes: <dtml-var "', '.join(source_names)">)
</dtml-if>
</dtml-let>
<dtml-except> <dtml-except>
<dtml-if title> (&dtml-title;) </dtml-if> <dtml-if title> (&dtml-title;) </dtml-if>
</dtml-try> </dtml-try>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment