LIL-653 Сделать пролонгацию подписки See merge request lilcity/backend!154remotes/origin/hotfix/LIL-691
commit
3fd3aee4b1
11 changed files with 92 additions and 182 deletions
@ -1,9 +1,5 @@ |
|||||||
<a |
<a |
||||||
{% if not user.is_authenticated %} |
data-popup=".js-popup-buy" data-prolong="1" data-date-start="{{ prolong_date_start|date:'Y-m-d' }}" |
||||||
data-popup=".js-popup-auth" |
|
||||||
{% else %} |
|
||||||
data-popup=".js-popup-buy" |
|
||||||
{% endif %} |
|
||||||
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
||||||
href="#" |
href="#" |
||||||
>продлить</a> |
>продлить</a> |
||||||
|
|||||||
@ -1,59 +0,0 @@ |
|||||||
import Vue from 'vue'; |
|
||||||
import Comments from '../../components/Comments'; |
|
||||||
//import $ from 'jquery';
|
|
||||||
|
|
||||||
if (process.env.NODE_ENV === 'development') { |
|
||||||
// Enable vue-devtools
|
|
||||||
Vue.config.devtools = true; |
|
||||||
} |
|
||||||
|
|
||||||
let app = new Vue({ |
|
||||||
el: '#comments_block', |
|
||||||
data(){ |
|
||||||
return { |
|
||||||
userId: 123, |
|
||||||
accessToken: 123, |
|
||||||
comments: [{ |
|
||||||
author: { |
|
||||||
get_full_name: 'John Doe', |
|
||||||
photo: {url: ''}, |
|
||||||
}, |
|
||||||
created_at_humanize: '12 07 18', |
|
||||||
content: 'content content content content', |
|
||||||
id: 1, |
|
||||||
is_child_node: false |
|
||||||
}, { |
|
||||||
author: { |
|
||||||
get_full_name: 'Sarah Conor', |
|
||||||
photo: {url: ''}, |
|
||||||
}, |
|
||||||
created_at_humanize: '5 05 18', |
|
||||||
content: 'hasta la vista', |
|
||||||
id: 2, |
|
||||||
is_child_node: false, |
|
||||||
children: [{ |
|
||||||
author: { |
|
||||||
get_full_name: 'John Doe', |
|
||||||
photo: {url: ''}, |
|
||||||
}, |
|
||||||
created_at_humanize: '12 07 18', |
|
||||||
content: 'content content content content', |
|
||||||
id: 10, |
|
||||||
is_child_node: true |
|
||||||
}, { |
|
||||||
author: { |
|
||||||
get_full_name: 'Sarah Conor', |
|
||||||
photo: {url: ''}, |
|
||||||
}, |
|
||||||
created_at_humanize: '5 05 18', |
|
||||||
content: 'hasta la vista', |
|
||||||
id: 20, |
|
||||||
is_child_node: true, |
|
||||||
}] |
|
||||||
}] |
|
||||||
} |
|
||||||
}, |
|
||||||
components: { |
|
||||||
'comments': Comments, |
|
||||||
} |
|
||||||
}); |
|
||||||
Loading…
Reference in new issue