Skip to content

Commit 7b11427

Browse files
committed
add dynamic links to VCAP targets in Bluemix
using the new `appenv` object
1 parent 5724cbb commit 7b11427

File tree

1 file changed

+4
-27
lines changed

1 file changed

+4
-27
lines changed

views/templates/ingredients.html

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ <h1 class="type_heading"><mark class="type_mark">
1616
<mark class="type_mark">Runtime</mark>
1717
</dt>
1818
<dd>
19-
Node.js app running on IBM Bluemix. {link to the application for the signed in user on Bluemix}
19+
<a href="{{ appenv.application.host }}" target="_blank" class="type_link">Node.js app</a> running on IBM Bluemix.
2020
</dd>
2121
<dt>
2222
<mark class="type_mark">Data</mark>
2323
</dt>
2424
<dd>
25-
IBM Cloudant, running on IBM Bluemix. {link to the Cloudant dashboard and database }
25+
<a href="{{ appenv.storage.url }}" target="_blank" class="type_link">IBM Cloudant</a>, running on IBM Bluemix. (If you don't know your Cloudant password, <a href="{{ appenv.application.host }}" target="_blank" class="type_link">access Cloudant through the app</a> on Bluemix instead.)
2626
</dd>
2727
<dt>
2828
<mark class="type_mark">Cache (optional)</mark>
@@ -39,30 +39,7 @@ <h1 class="type_heading"><mark class="type_mark">
3939
</dl>
4040

4141
<p>
42-
To learn more about how these things go together, check out the tutorial and the README.
42+
To learn more about how these things go together, <a href="https://developer.ibm.com/clouddataservices/simple-search-service/" target="_blank" class="type_link">check out the tutorial</a> and <a href="https://github.com/ibm-cds-labs/simple-search-service/" target="_blank" class="type_link">the README</a>.
4343
</p>
4444

45-
</section>
46-
47-
48-
<!--
49-
50-
===
51-
rename file ingredients
52-
===
53-
54-
Cloudant is the service.
55-
- link to cloudant database in bluemix
56-
57-
the application runs on bluemix
58-
- link to application in bluemix
59-
60-
couchimport is the data ingest.
61-
- link to github repo
62-
63-
we automatically build search indexes based on what you choose to facet
64-
- link to code in github repo
65-
66-
67-
68-
-->
45+
</section>

0 commit comments

Comments
 (0)