Commit 2385db55 authored by davelopez's avatar davelopez
Browse files

Move histories side-by-side menu entry below count

The `Show Histories Side-by-Side` option is not strictly related to the current history, while it feels more natural to have it just near the histories count in the menu.
parent fdd00785
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -42,6 +42,14 @@
                        <span v-else>You have {{ histories.length }} histories.</span>
                    </b-dropdown-text>

                    <b-dropdown-item
                        v-if="!currentUser.isAnonymous"
                        data-description="switch to multi history view"
                        @click="redirect('/history/view_multiple')">
                        <Icon fixed-width class="mr-1" icon="columns" />
                        <span v-localize>Show Histories Side-by-Side</span>
                    </b-dropdown-item>

                    <b-dropdown-divider></b-dropdown-divider>

                    <b-dropdown-item v-if="!currentUser.isAnonymous" v-b-modal:copy-history-modal>
@@ -75,14 +83,6 @@
                        <span v-localize>Show Structure</span>
                    </b-dropdown-item>

                    <b-dropdown-item
                        v-if="!currentUser.isAnonymous"
                        data-description="switch to multi history view"
                        @click="redirect('/history/view_multiple')">
                        <Icon fixed-width class="mr-1" icon="columns" />
                        <span v-localize>Show Histories Side-by-Side</span>
                    </b-dropdown-item>

                    <template v-if="!currentUser.isAnonymous">
                        <b-dropdown-divider></b-dropdown-divider>