<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://github.com/archivesspace/archivesspace/blob/v1.4.2/public/app/views/records/_components.html.erb#L30-L37" class="">https://github.com/archivesspace/archivesspace/blob/v1.4.2/public/app/views/records/_components.html.erb#L30-L37</a></div>
<div class=""><br class="">
</div>
<div class="">is the file you need to modify in local plugin. </div>
<div class=""><br class="">
</div>
<div class="">That template gets expanded by javascript </div>
<div class=""><a href="https://github.com/archivesspace/archivesspace/blob/v1.4.2/public/app/assets/javascripts/record_tree.js" class="">https://github.com/archivesspace/archivesspace/blob/v1.4.2/public/app/assets/javascripts/record_tree.js</a></div>
<div class=""><br class="">
</div>
<div class="">and template variables are pulling from the resource_tree children. </div>
<div class=""><br class="">
</div>
<div class="">So VERY roughly and just for illustration, you could do something like:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class="">
<div class=""><br class="">
</div>
</div>
</div>
</div>
<div class="">
<div class=""><div id="template_record_tree_node"><!--</div>
<div class=""> <li class="record-tree-node {if has_children} has-children{else} no-children{/if}" data-uri="${record_uri}"></div>
<div class=""> {if has_children}<a href="#" class="record-tree-node-toggle"><span class="record-tree-node-toggle-icon"></span></a>{/if}</div>
<div class=""> <span class="icon icon-${node_type}"></span></div>
<div class=""> <a href="${record_uri}" class="record-tree-node-title">${title}</a></div>
<div class=""> [${level}]: ${containers[0].type_1} ${containers[0].indicator_1}, </div>
<div class=""> ${containers[0].type_2} ${containers[0].indicator_2}</div>
<div class=""> ${containers[0].type_3} ${containers[0].indicator_3}</div>
<div class=""> {if has_children}<ul class="record-sub-tree"></ul>{/if}</div>
<div class=""> </li></div>
<div class="">--></div></div>
</div>
<div class=""><br class="">
</div>
<div class="">except since containers is an array and possibly empty, you need some more logic to do it properly. </div>
<div class="">In which case, it might be easier to add the expansion in javascript rather than in directly in the template. </div>
<div class=""><br class="">
</div>
<div class="">But that code above gets you this far (note the error at the end, from I assume an empty container array, which stops it from iterating to the end of the component list ): </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><img height="582" width="855" apple-width="yes" apple-height="yes" apple-inline="yes" id="7D286E87-14DA-42F4-8DA9-39D241001599" src="cid:EF13182E-9822-4F3E-980A-1D5E2D76D12B@virginia.edu" class=""></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Dec 14, 2016, at 12:04 PM, Kari R Smith <<a href="mailto:smithkr@mit.edu" class="">smithkr@mit.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Hello, is it possible to configure the 1.42 Public Interface display so that on a Resource Record, at the bottom in the Container listing we can also have the Box # display next to the component title.<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Second, is it possible to have the Resource ID or Title display on the Component Record.<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Now that the new PUI is coming out in June 2017, we plan to use the 1.5x PUI for public access to our collection descriptions.<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Thank you for your (community) help with possible solutions!<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Kari<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="color: rgb(31, 73, 125);" class="">Kari R. Smith<o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="color: rgb(31, 73, 125);" class="">Digital Archivist and Program Head for Born-digital Archives<o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="color: rgb(31, 73, 125);" class="">Institute Archives and Special Collections<o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="color: rgb(31, 73, 125);" class="">Massachusetts Institute of Technology Libraries, Cambridge, Massachusetts<o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span style="color: rgb(31, 73, 125);" class="">617.253.5690 smithkr at<span class="Apple-converted-space"> </span><a href="http://mit.edu/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">mit.edu</a> <span class="Apple-converted-space"> </span></span><a href="http://libraries.mit.edu/archives/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">http://libraries.mit.edu/archives/</a><span style="color: rgb(31, 73, 125);" class="">
@karirene69<o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Archivesspace_Users_Group
mailing list</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div>
</blockquote>
</div>
<br class="">
</body>
</html>