File tree 2 files changed +38
-5
lines changed
2 files changed +38
-5
lines changed Original file line number Diff line number Diff line change 8
8
{% endfor %}
9
9
{% if request.user.is_anonymous %}
10
10
{% url 'account_login' as login_url %}
11
- <!-- {% primary_button title='Log in / Create account' href=login_url icon_path='icons/login.svg' extra_classnames='login-create-account-btn' %} -->
11
+ < div class ="mobile-only ">
12
+ {% primary_button title='Log in / Create account' href=login_url icon_path='icons/login.svg' extra_classnames='login-create-account-btn' %}
13
+ </ div >
12
14
{% else %}
13
15
{% comments_moderation_button %}
14
-
15
- {% url 'user_profile' as profile_url %}
16
- <!-- {% primary_button title='Profile' href=profile_url icon_path='icons/profile.svg' %} -->
16
+ < div class ="mobile-only ">
17
+ {% url 'user_profile' as profile_url %}
18
+ {% primary_button title='Profile' href=profile_url icon_path='icons/profile.svg' %}
19
+ </ div >
17
20
18
21
{% url 'account_logout' as logout_url %}
19
22
{% primary_button title='Log out' href=logout_url icon_path='icons/arrow_icon_left.svg' extra_classnames='logout-btn' %}
20
23
{% endif %}
21
24
</ nav >
22
25
</ footer >
26
+
27
+ < style >
28
+ .mobile-only {
29
+ display : none;
30
+ }
31
+
32
+ @media (max-width : 768px ) and (max-width : 1225px ) {
33
+ .mobile-only {
34
+ display : block;
35
+ }
36
+ }
37
+
38
+ @media (min-width : 769px ) and (max-width : 1024px ) {
39
+ .mobile-only {
40
+ display : block;
41
+ }
42
+ }
43
+
44
+ @media (min-width : 1025px ) and (max-width : 1225px ) {
45
+ .mobile-only {
46
+ display : block;
47
+ }
48
+ }
49
+
50
+ @media (min-width : 1386px ) {
51
+ .mobile-only {
52
+ display : none;
53
+ }
54
+ }
55
+ </ style >
Original file line number Diff line number Diff line change 33
33
},
34
34
}
35
35
36
- SITE_VERSION = '2.13.11 '
36
+ SITE_VERSION = '2.13.12 '
37
37
38
38
try :
39
39
from .local import *
You can’t perform that action at this time.
0 commit comments