Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Кнопка "Снять ограничение данных" #265

Closed
bogdanevg opened this issue Aug 13, 2018 · 3 comments
Closed

Кнопка "Снять ограничение данных" #265

bogdanevg opened this issue Aug 13, 2018 · 3 comments
Labels
bug layout HTML and CSS changes
Milestone

Comments

@bogdanevg
Copy link

После авторизации кнопка не пропадает.

@bogdanevg bogdanevg added the bug label Aug 13, 2018
@bogdanevg bogdanevg changed the title Кнопка "Снять ограничение данных Кнопка "Снять ограничение данных" Aug 13, 2018
@blackst0ne
Copy link
Contributor

This change in src/components/CountersHeader.vue should do the trick:

@@ -1,6 +1,6 @@
<template>
  <b-row class="infobar" align-v="center" no-gutters>
-   <b-col cols="2" md="4" class="text-center text-md-left">
+   <b-col cols="2" md="4" class="text-center text-md-left" v-if="!$store.getters.user.authenticated">
      <router-link to="/sign-in">
        <i class="fa fa-lg fa-lock align-middle" aria-hidden="true" />
        <span v-if="!$root.onMobile">Снять ограничения данных</span>

But it should be tested if the layout is still OK when the item gets hidden.

@blackst0ne blackst0ne added the layout HTML and CSS changes label Aug 13, 2018
@jamm1985 jamm1985 added this to the 2.1 milestone Nov 4, 2018
aivazoff pushed a commit to aivazoff/eqalert.ru that referenced this issue Nov 27, 2018
aivazoff pushed a commit to aivazoff/eqalert.ru that referenced this issue Nov 27, 2018
@jamm1985
Copy link
Member

jamm1985 commented Dec 4, 2018

@armd-pro прошу исправить ошибки:

Пропал зеленый фон у попапа после входа/выхода

2018-12-04 21 32 09

2018-12-04 21 32 36

Информация о загруженных событиях стала не по центру, прошу сделать по центру:

2018-12-04 21 31 59

@jamm1985
Copy link
Member

Фон у кнопки исправлен.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug layout HTML and CSS changes
Projects
None yet
Development

No branches or pull requests

3 participants