mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-25 17:31:48 -05:00
Remove Revisions directory
This commit is contained in:
@@ -5,3 +5,4 @@
|
||||
@import 'popover/_index';
|
||||
@import 'tabs/_index';
|
||||
@import 'utility/_index';
|
||||
@import 'truncate/_index';
|
||||
|
||||
19
awx/ui/client/lib/components/truncate/_index.less
Normal file
19
awx/ui/client/lib/components/truncate/_index.less
Normal file
@@ -0,0 +1,19 @@
|
||||
.RevisionHash {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.RevisionHash-name {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.RevisionHash-copy {
|
||||
color: @at-gray-dark-2x;
|
||||
cursor: pointer;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
.RevisionHash-copy:hover {
|
||||
color: @at-blue;
|
||||
}
|
||||
@@ -6,7 +6,7 @@ function atTruncateLink (scope, el, attr, ctrl) {
|
||||
truncateController.init(scope, string, maxlength);
|
||||
}
|
||||
|
||||
function AtTruncateController ($filter) {
|
||||
function AtTruncateController ($filter, $scope) {
|
||||
let vm = this;
|
||||
vm.toolTipContent = 'Copy full revision to clipboard.';
|
||||
|
||||
@@ -55,8 +55,10 @@ function AtTruncateController ($filter) {
|
||||
|
||||
}
|
||||
|
||||
AtTruncateController.$inject = ['$filter', '$scope' ];
|
||||
|
||||
function atTruncate($filter, pathService) {
|
||||
|
||||
function atTruncate(pathService) {
|
||||
return {
|
||||
restrict: 'EA',
|
||||
replace: true,
|
||||
@@ -73,7 +75,6 @@ function atTruncate($filter, pathService) {
|
||||
}
|
||||
|
||||
atTruncate.$inject = [
|
||||
'$filter',
|
||||
'PathService'
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user