mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 11:19:05 +00:00
Minor code and logic cleanup to maintain non revamped version on prod
This commit is contained in:
parent
ef71609f3d
commit
859627bcd2
@ -106,7 +106,7 @@ export default class DatasetRoute extends Route {
|
||||
setProperties(controller, {
|
||||
isInternal: !!isInternal,
|
||||
jitAclAccessWhitelist: jitAclAccessWhitelist || [],
|
||||
showOwnership: 'show' || showOwnership
|
||||
showOwnership: showOwnership || 'hide'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -31,6 +31,21 @@
|
||||
|
||||
{{/unless}}
|
||||
|
||||
{{#unless (eq showOwnership "show")}}
|
||||
<td>
|
||||
{{#if owner.modifiedTime}}
|
||||
{{moment-calendar owner.modifiedTime sameElse="MMM Do YYYY, h:mm a"}}
|
||||
{{else}}
|
||||
|
||||
<span
|
||||
class="nacho-button nacho-button--small dataset-author-record__indicator--disabled">
|
||||
Not Saved
|
||||
</span>
|
||||
|
||||
{{/if}}
|
||||
</td>
|
||||
{{/unless}}
|
||||
|
||||
<td>
|
||||
{{ember-selector
|
||||
class=(unless isOwnerMutable "nacho-select--hidden-state")
|
||||
|
||||
@ -37,12 +37,12 @@
|
||||
<table class="nacho-table nacho-table--bordered dataset-owner-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class={{if (eq showOwnership "show") "dataset-author-column--extra-wide" "dataset-author-column--wide"}}>
|
||||
<th class="dataset-author-column--extra-wide">
|
||||
LDAP Username
|
||||
</th>
|
||||
<th class={{if (eq showOwnership "show") "dataset-author-column--extra-wide"}}>Full Name</th>
|
||||
<th class="dataset-author-column--extra-wide">Full Name</th>
|
||||
<th class="dataset-author-column--narrow">ID Type</th>
|
||||
<th class={{if (eq showOwnership "show") "dataset-author-column--wide"}}>
|
||||
<th class="dataset-author-column--wide">
|
||||
Ownership Type
|
||||
|
||||
<!--TODO: DSS-6716-->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user