File tree Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ python_exec=python
4
+ pip_exec=pip
5
+
3
6
set -x
4
7
5
8
SCRIPT_FILE_PATH=$( readlink -f " ${0} " )
@@ -12,18 +15,6 @@ CONFIG_FILE_PATH="${LMSWEB_FOLDER}/config.py"
12
15
CONFIG_EXAMPLE_FILE_PATH=" ${LMSWEB_FOLDER} /config.py.example"
13
16
DB_BOOTSTRAP_FILE_PATH=" ${LMSAPP_FOLDER} /lmsdb/bootstrap.py"
14
17
15
- if (command -v pip); then
16
- pip_exec=pip
17
- else
18
- pip_exec=pip3
19
- fi
20
-
21
- if (command -v python); then
22
- python_exec=python
23
- else
24
- python_exec=python3
25
- fi
26
-
27
18
if ! (test -f " ${CONFIG_FILE_PATH} " ); then
28
19
echo " Creating config from template"
29
20
cp " ${CONFIG_EXAMPLE_FILE_PATH} " " ${CONFIG_FILE_PATH} "
Original file line number Diff line number Diff line change 9
9
</ a >
10
10
< div class ="collapse navbar-collapse " id ="navbarNavDropdown ">
11
11
< ul class ="navbar-nav ">
12
+ < li class ="nav-item ">
13
+ < a href ="/user/{{ current_user.id }} " class ="nav-link ">
14
+ < i class ="fa fa-user " aria-hidden ="true "> </ i >
15
+ {{ current_user.fullname | e }}
16
+ </ a >
17
+ </ li >
12
18
< li class ="nav-item dropdown ">
13
19
< a id ="notifications-icon " href ="# " class ="nav-link " aria-expanded ="false " aria-haspopup ="true " aria-label ="Notifications " role ="button " data-toggle ="dropdown ">
14
20
< i class ="fa fa-bell " aria-hidden ="true "> </ i >
15
21
{{ _('הודעות') }}
16
22
< span id ="notification-count " class ="badge bg-secondary "> 0</ span >
17
23
</ a >
18
- < div id ="notifications-list " aria-labelledby ="navbarDropdown " class ="dropdown-menu
24
+ < div id ="notifications-list " aria-labelledby ="navbarDropdown " class ="dropdown-menu
19
25
{%- if direction == 'rtl' %}
20
26
dropdown-menu-right
21
27
{%- else %}
59
65
</ a >
60
66
</ li >
61
67
{% endif -%}
62
- < li class ="nav-item ">
63
- < a href ="/user/{{ current_user.id }} " class ="nav-link ">
64
- < i class ="fa fa-user " aria-hidden ="true "> </ i >
65
- {{ _('המשתמש שלי') }}
66
- </ a >
67
- </ li >
68
68
</ ul >
69
- < ul class ="navbar-nav
69
+ < ul class ="navbar-nav
70
70
{%- if direction == 'rtl' %}
71
71
mr-auto
72
72
{%- else %}
You can’t perform that action at this time.
0 commit comments