mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-09 16:03:31 +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, {
|
setProperties(controller, {
|
||||||
isInternal: !!isInternal,
|
isInternal: !!isInternal,
|
||||||
jitAclAccessWhitelist: jitAclAccessWhitelist || [],
|
jitAclAccessWhitelist: jitAclAccessWhitelist || [],
|
||||||
showOwnership: 'show' || showOwnership
|
showOwnership: showOwnership || 'hide'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -31,6 +31,21 @@
|
|||||||
|
|
||||||
{{/unless}}
|
{{/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>
|
<td>
|
||||||
{{ember-selector
|
{{ember-selector
|
||||||
class=(unless isOwnerMutable "nacho-select--hidden-state")
|
class=(unless isOwnerMutable "nacho-select--hidden-state")
|
||||||
|
|||||||
@ -37,12 +37,12 @@
|
|||||||
<table class="nacho-table nacho-table--bordered dataset-owner-table">
|
<table class="nacho-table nacho-table--bordered dataset-owner-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<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
|
LDAP Username
|
||||||
</th>
|
</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="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
|
Ownership Type
|
||||||
|
|
||||||
<!--TODO: DSS-6716-->
|
<!--TODO: DSS-6716-->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user