File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
java/com/ericsson/ei/frontend Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,18 @@ public class WebController {
32
32
private String backendServerHost ;
33
33
private int backendServerPort ;
34
34
35
+ private String eiffelDocumentationUrl ;
36
+
37
+
35
38
@ RequestMapping ("/" )
36
39
public String greeting (Model model ) {
37
40
38
- // String frontendServiceUrl = String.format("http://%s:%d ", frontendServiceHost, frontendServicePort );
41
+ String eiffelDocumentationUrlLink = String .format ("%s " , eiffelDocumentationUrl );
39
42
40
- // model.addAttribute("frontendServiceUrl ", frontendServiceUrl ); // inject in DOM for AJAX etc
43
+ model .addAttribute ("eiffelDocumentationUrlLink " , eiffelDocumentationUrlLink ); // inject in DOM for AJAX etc
41
44
45
+
46
+
42
47
return "index" ;
43
48
}
44
49
@@ -121,4 +126,11 @@ public void setBackendServerPort(int backendServerPort) {
121
126
this .backendServerPort = backendServerPort ;
122
127
}
123
128
129
+ public String getEiffelDocumentationUrl () {
130
+ return eiffelDocumentationUrl ;
131
+ }
132
+
133
+ public void setEiffelDocumentationUrl (String eiffelDocumentationUrl ) {
134
+ this .eiffelDocumentationUrl = eiffelDocumentationUrl ;
135
+ }
124
136
}
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ ei.backendServerPort=8090
15
15
# ##### Subscription Template file ########
16
16
ei.subscriptionFilePath =subscriptions/subscriptionsTemplate.json
17
17
18
+ # ##### EI Documentation Link Url ##########
19
+ ei.eiffelDocumentationUrl =https://github.com/Ericsson/eiffel-intelligence-frontend
20
+
18
21
# ### LOGGING #########
19
22
logging.level.root : INFO
20
23
logging.level.org.springframework.web : DEBUG
Original file line number Diff line number Diff line change 63
63
</ ul >
64
64
</ li >
65
65
< li class ="nav-item " data-toggle ="tooltip " data-placement ="right " title ="Link ">
66
- < a class ="nav-link " href ="# ">
66
+ < a class ="nav-link " th: href ="${eiffelDocumentationUrlLink} " target =" _blanc ">
67
67
< i class ="fa fa-fw fa-link "> </ i >
68
- < span class ="nav-link-text "> Link</ span >
68
+ < span class ="nav-link-text "> Documentation Link</ span >
69
69
</ a >
70
70
</ li >
71
71
</ ul >
You can’t perform that action at this time.
0 commit comments