Skip to content

Commit

Permalink
Add clock icon absolute URL to header _data and regenerate details.ht…
Browse files Browse the repository at this point in the history
…ml for 3 tutorials
  • Loading branch information
cathyyoung committed Mar 16, 2015
1 parent 3bcdfbd commit c629002
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
7 changes: 5 additions & 2 deletions src/_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"repoUrlFilepathJs2javaSteps":"/ot4i.tutorials/dist/js/js2java_steps.js",
"repoUrlFilepathActionIcon":"/ot4i.tutorials/dist/images/icons/ibmdesign/back-right-previous_128-orange.png",
"repoUrlFilepathExitIcon":"/ot4i.tutorials/dist/images/icons/ibmdesign/close-cancel-error_128-red.png",
"repoUrlFilepathClockIcon":"/ot4i.tutorials/dist/images/icons/ibmdesign/clock-time_128.png",

"separator-Local":{},
"repoUrlProtocol":"http://",
Expand All @@ -53,7 +54,8 @@
"repoUrlFilepathJs2javaSteps":"/js/js2java_steps.js",

"repoUrlFilepathActionIcon":"/images/icons/ibmdesign/back-right-previous_128-orange.png",
"repoUrlFilepathExitIcon":"/images/icons/ibmdesign/close-cancel-error_128-red.png"
"repoUrlFilepathExitIcon":"/images/icons/ibmdesign/close-cancel-error_128-red.png",
"repoUrlFilepathClockIcon":"/images/icons/ibmdesign/clock-time_128.png"

},
"header":
Expand Down Expand Up @@ -81,6 +83,7 @@
"repoUrlFilepathJs2java":"/ot4i.tutorials/dist/js/js2java.js",
"repoUrlFilepathJs2javaSteps":"/ot4i.tutorials/dist/js/js2java_steps.js",
"repoUrlFilepathActionIcon":"/ot4i.tutorials/dist/images/icons/ibmdesign/back-right-previous_128-orange.png",
"repoUrlFilepathExitIcon":"/ot4i.tutorials/dist/images/icons/ibmdesign/close-cancel-error_128-red.png"
"repoUrlFilepathExitIcon":"/ot4i.tutorials/dist/images/icons/ibmdesign/close-cancel-error_128-red.png",
"repoUrlFilepathClockIcon":"/ot4i.tutorials/dist/images/icons/ibmdesign/clock-time_128.png"
}
}
3 changes: 2 additions & 1 deletion src/_includes/details.ejs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<% var header = public._data.header %>
<% var content = thisTutorial.pageContent.navItems %>
<% var tutorialCommon = thisTutorial.tutorial._common %>
<% var tutorialDetails = thisTutorial.tutorial.pageDetails %>
Expand Down Expand Up @@ -39,7 +40,7 @@
<div class="panel radius" style="margin:0px; margin-bottom:10px; padding:5px;">
<div class="row">
<div class="small-2 medium-2 large-2 columns">
<img class="icon-image" src="../../images/icons/ibmdesign/clock-time_128.png" />
<img class="icon-image" src="<%= header.repoUrlProtocol %><%= header.repoUrlSite %><%= header.repoUrlFilepathClockIcon %>" />
</div>
<div class="small-10 large-10 columns">
<%= tutorialCommon.durationText %> <b><%= tutorialCommon.durationTime %></b>.
Expand Down
2 changes: 1 addition & 1 deletion tutorialHTTPInputApplication/en/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h5> OVERVIEW </h5>
<div class="panel radius" style="margin:0px; margin-bottom:10px; padding:5px">
<div class="row">
<div class="small-2 medium-2 large-2 columns">
<img class="icon-image" src="../../images/icons/ibmdesign/clock-time_128.png">
<img class="icon-image" src="http://ot4i.github.io/ot4i.tutorials/dist/images/icons/ibmdesign/clock-time_128.png">
</div>
<div class="small-10 large-10 columns">
This tutorial takes approximately <b>5 minutes</b>.
Expand Down
2 changes: 1 addition & 1 deletion tutorialIntegrationServices/en/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h5> OVERVIEW </h5>
<div class="panel radius" style="margin:0px; margin-bottom:10px; padding:5px">
<div class="row">
<div class="small-2 medium-2 large-2 columns">
<img class="icon-image" src="../../images/icons/ibmdesign/clock-time_128.png">
<img class="icon-image" src="http://ot4i.github.io/ot4i.tutorials/dist/images/icons/ibmdesign/clock-time_128.png">
</div>
<div class="small-10 large-10 columns">
This tutorial takes approximately <b>5 minutes</b>.
Expand Down
2 changes: 1 addition & 1 deletion tutorialLargeMessaging/en/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h5> OVERVIEW </h5>
<div class="panel radius" style="margin:0px; margin-bottom:10px; padding:5px">
<div class="row">
<div class="small-2 medium-2 large-2 columns">
<img class="icon-image" src="../../images/icons/ibmdesign/clock-time_128.png">
<img class="icon-image" src="http://ot4i.github.io/ot4i.tutorials/dist/images/icons/ibmdesign/clock-time_128.png">
</div>
<div class="small-10 large-10 columns">
This tutorial takes approximately <b>5 minutes</b>.
Expand Down

1 comment on commit c629002

@cathyyoung
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolves #30

Please sign in to comment.