From 069dfbc70397b0cacc738885d73860d435bb9df0 Mon Sep 17 00:00:00 2001 From: Dean Farrell Date: Thu, 25 Jul 2024 17:09:18 -0400 Subject: [PATCH] Add help text for streaming and access surrogates (#1778) --- static/js/admin/src/ResultObject.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/static/js/admin/src/ResultObject.js b/static/js/admin/src/ResultObject.js index d7a1310fa1..e1209b89fe 100644 --- a/static/js/admin/src/ResultObject.js +++ b/static/js/admin/src/ResultObject.js @@ -31,7 +31,7 @@ define('ResultObject', [ 'jquery', 'jquery-ui', 'underscore', 'ModalLoadingOverl if (tags.length > 0) { this.metadata.tags = tags.filter(function(d) { - return !/^(not|no|has.primary|public.access|members.are.unordered|view.behavior|has.access)/i.test(d); + return !/^(not|no|has.primary|public.access|members.are.unordered|view.behavior)/i.test(d); }).map(function(d) { var tagValue; @@ -88,6 +88,12 @@ define('ResultObject', [ 'jquery', 'jquery-ui', 'underscore', 'ModalLoadingOverl case 'is-primary-object': helpText = 'This file is the representative object for the work which contains it'; break; + case 'has-access-surrogate': + helpText = 'This file has an access surrogate'; + break; + case 'has-streaming': + helpText = 'This file has streaming content'; + break; case 'staff-only': helpText = 'Only users with staff roles can access this object'; break;