Skip to content

Commit

Permalink
Add help text for streaming and access surrogates (#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfarrell authored Jul 25, 2024
1 parent ad2ec47 commit 069dfbc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion static/js/admin/src/ResultObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 069dfbc

Please sign in to comment.