Remove Revisions directory

This commit is contained in:
Marliana Lara
2017-07-06 16:22:07 -04:00
parent 3d5f7057c3
commit d8384522c2
8 changed files with 8 additions and 86 deletions

View File

@@ -5,3 +5,4 @@
@import 'popover/_index';
@import 'tabs/_index';
@import 'utility/_index';
@import 'truncate/_index';

View 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;
}

View File

@@ -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'
];