skills.tpl 3.23 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
2
3
4
5
<fieldset>{if !$hidetitle}<legend class="resumeh3">{str tag='myskills' section='artefact.resume'}
{if $controls}
    {contextualhelp plugintype='artefact' pluginname='resume' section='myskills'}
{/if}
</legend>{/if}
Pat Kira's avatar
Pat Kira committed
6
<div class="table-responsive">
Pat Kira's avatar
Pat Kira committed
7
<table id="skillslist{$suffix}" class="tablerenderer fullwidth table table-striped">
Naomi Guyer's avatar
Naomi Guyer committed
8
9
10
    <thead>
        <tr>
            <th>{str tag='skills' section='artefact.resume'}</th>
Pat Kira's avatar
Pat Kira committed
11
            <th class="resumeattachments text-center">
12
              <span class="fa fa-paperclip"></span>
Pat Kira's avatar
Pat Kira committed
13
14
              <span class="sr-only">{str tag=Attachments section=artefact.resume}</span>
            </th>
Naomi Guyer's avatar
Naomi Guyer committed
15
            <th><span class="accessible-hidden sr-only">{str tag=edit}</span></th>
Naomi Guyer's avatar
Naomi Guyer committed
16
17
18
19
20
21
22
        </tr>
    </thead>
    <tbody>
    {foreach from=$skills item=n}
    <tr class="{cycle values='r0,r1'}">
        <td class="skilltitle">
        {if $n->exists}
Pat Kira's avatar
Pat Kira committed
23
          <h3><a class="skilltitle" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?id={$n->id}" id="n{$n->id}">{str tag=$n->artefacttype section='artefact.resume'}</a></h3>
Naomi Guyer's avatar
Naomi Guyer committed
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
          <div id="n{$n->id}_desc" class="hidden detail">{if $n->description != ''}{$n->description|clean_html|safe}{else}{str tag=nodescription section=artefact.resume}{/if}
          {if $n->files}
              <div id="resume_{$n->id}">
                  <table class="attachments fullwidth">
                      <col width="5%">
                      <col width="40%">
                      <col width="55%">
                      <tbody>
                          <tr><th colspan=3>{str tag=attachedfiles section=artefact.blog}</th></tr>
                          {foreach from=$n->files item=file}
                              <tr class="{cycle values='r1,r0'}">
                                  <td><img src="{$file->icon}" alt=""></td>
                                  <td class="valign"><a href="{$WWWROOT}artefact/file/download.php?file={$file->attachment}">{$file->title}</a></td>
                                  <td class="valign">{$file->description}</td>
                              </tr>
                          {/foreach}
                      </tbody>
                  </table>
              </div>
          </div>
          {/if}
        {else}
Pat Kira's avatar
Pat Kira committed
46
          <h3>{str tag=$n->artefacttype section='artefact.resume'}</h3>
Naomi Guyer's avatar
Naomi Guyer committed
47
48
49
50
51
        {/if}
        </td>
        <td align="center">{$n->count}</td>
        <td class="right buttonscell btns2">
        {if $n->exists}
Pat Kira's avatar
Pat Kira committed
52
          <a id="skills_edit_{$n->artefacttype}" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?id={$n->id}" title="{str tag=edit$n->artefacttype section=artefact.resume}" class="btn btn-default btn-xs">
53
            <span class="fa fa-pencil"></span>
Pat Kira's avatar
Pat Kira committed
54
55
            <span class="sr-only">{str tag=edit}</span>
          </a>
Naomi Guyer's avatar
Naomi Guyer committed
56
        {else}
Pat Kira's avatar
Pat Kira committed
57
          <a id="skills_edit_{$n->artefacttype}" href="{$WWWROOT}artefact/resume/editgoalsandskills.php?type={$n->artefacttype}" title="{str tag=edit$n->artefacttype section=artefact.resume}" class="btn btn-default btn-xs">
58
            <span class="fa fa-pencil"></span>
Pat Kira's avatar
Pat Kira committed
59
60
            <span class="sr-only">{str tag=edit}</span>
          </a>
Naomi Guyer's avatar
Naomi Guyer committed
61
62
63
64
65
66
        {/if}
        </td>
    </tr>
    {/foreach}
    </tbody>
</table>
Pat Kira's avatar
Pat Kira committed
67
</div>
Naomi Guyer's avatar
Naomi Guyer committed
68
69
70
71
72
{if $license}
<div class="resumelicense">
{$license|safe}
</div>
{/if}
Naomi Guyer's avatar
Naomi Guyer committed
73
</fieldset>