... | ... |
@@ -261,14 +261,20 @@ These are some functions to make uniform sections |
261 | 261 |
|
262 | 262 |
*/ |
263 | 263 |
|
264 |
-function position($company,$city,$job,$dates,$blob) { |
|
264 |
+function position($company,$city,$job,$dates,$blob,$link) { |
|
265 | 265 |
/* |
266 | 266 |
This function is for use in the experience section. It unififes formatting for the various positions. |
267 | 267 |
*/ |
268 | 268 |
|
269 | 269 |
echo ' |
270 | 270 |
<div class="row" style="padding: 35px 0 4px 0;"> |
271 |
- <div class="span6"><h4 style="margin: 0">'.$company.'</h4></div> |
|
271 |
+ <div class="span6"><h4 style="margin: 0">'.$company.'</h4> |
|
272 |
+ '; |
|
273 |
+ if (!empty($link)) { |
|
274 |
+ echo ' <a href="'.$link.'" target="_BLANK"><span class="badge badge-inverse">Visit</span></a>'; |
|
275 |
+ } |
|
276 |
+ echo ' |
|
277 |
+ </div> |
|
272 | 278 |
<div class="span6"><h4 class="pull-right hidden-phone" style="margin: 0">'.$city.'</h4> |
273 | 279 |
</div> |
274 | 280 |
|
... | ... |
@@ -289,6 +295,10 @@ function position($company,$city,$job,$dates,$blob) { |
289 | 289 |
} |
290 | 290 |
|
291 | 291 |
} |
292 |
+function position($company,$city,$job,$dates,$blob,) { |
|
293 |
+ // if no link |
|
294 |
+ position($company,$city,$job,$dates,$blob,''); |
|
295 |
+} |
|
292 | 296 |
|
293 | 297 |
function iprogram($language,$percent) { |
294 | 298 |
// Progress bars for technical section |