diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py index e1c72da2..3afd1c12 100644 --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -86,6 +86,7 @@ from rhodecode.lib.utils2 import ( from rhodecode.lib.markup_renderer import MarkupRenderer, relative_links from rhodecode.lib.vcs.exceptions import CommitDoesNotExistError from rhodecode.lib.vcs.backends.base import BaseChangeset, EmptyCommit +from rhodecode.lib.vcs.conf.settings import ARCHIVE_SPECS from rhodecode.lib.index.search_utils import get_matching_line_offsets from rhodecode.config.conf import DATE_FORMAT, DATETIME_FORMAT from rhodecode.model.changeset_status import ChangesetStatusModel diff --git a/rhodecode/lib/vcs/conf/settings.py b/rhodecode/lib/vcs/conf/settings.py index 99cba4dd..a40ce965 100644 --- a/rhodecode/lib/vcs/conf/settings.py +++ b/rhodecode/lib/vcs/conf/settings.py @@ -41,7 +41,7 @@ BACKENDS = { ARCHIVE_SPECS = [ - ('tbz2', 'application/x-bzip2', 'tbz2'), + ('tbz2', 'application/x-bzip2', '.tbz2'), ('tbz2', 'application/x-bzip2', '.tar.bz2'), ('tgz', 'application/x-gzip', '.tgz'), diff --git a/rhodecode/public/css/buttons.less b/rhodecode/public/css/buttons.less index 78d7e551..046bf0f5 100644 --- a/rhodecode/public/css/buttons.less +++ b/rhodecode/public/css/buttons.less @@ -262,10 +262,17 @@ input[type="button"] { } -.btn-action-switcher-container{ +.btn-action-switcher-container { position: absolute; top: 100%; - right: 0; + + &.left-align { + left: 0; + } + &.right-align { + right: 0; + } + } .btn-action-switcher { diff --git a/rhodecode/templates/files/files_browser.mako b/rhodecode/templates/files/files_browser.mako index 3f0564b1..f3d1209d 100644 --- a/rhodecode/templates/files/files_browser.mako +++ b/rhodecode/templates/files/files_browser.mako @@ -28,7 +28,7 @@ -