File tree Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Original file line number Diff line number Diff line change 37
37
< template name ="viewGem ">
38
38
< div class ="ten wide column ">
39
39
< h1 > < a href ="{{pathFor route='gem.edit' _projectId=projectId}} "> < i class ="icon edit "> </ i > </ a > {{name}} {{#if filterValue}}- {{filterValue}}{{/if}}</ h1 >
40
- < div class ="ui items ">
41
- {{#each artifacts}}
42
- < div class ="item ">
43
- < div >
44
- {{#if artifact.image}}
45
- < a href ={{pathFor 'artifact.view' _id=artifact._id _projectId=artifact.project}}>
46
- < img class ="ui tiny image " src ="{{artifact.image}} ">
40
+
41
+ < div class ="ui stackable two column centered grid ">
42
+ {{#each artifacts}}
43
+ < div class ="ui column ">
44
+ < div class ="ui segment ">
45
+ < h2 >
46
+ < a href ={{pathFor 'artifact.view' _id=artifact._id _projectId=artifact.project}}> {{artifact.name}}{{#if artifact.image}}
47
+ < img src ="{{artifact.image}} " class ="ui mini right floated spaced rounded image "> {{/if}}
47
48
</ a >
48
- {{/if}}
49
- </ div >
50
- < div class ="content ">
51
- < a class ="header " href ={{pathFor 'artifact.view' _id=artifact._id _projectId=artifact.project}}> {{artifact.name}}</ a >
52
- < div class ="description ">
53
- < ul >
54
- {{#each gems}}{{#each result}}
55
- < li > {{this}}</ li >
56
- {{/each}}{{/each}}
57
- </ ul >
58
- </ div >
59
- </ div >
49
+ </ h2 >
50
+ < ul >
51
+ {{#each gems}}{{#each result}}
52
+ < li > {{this}}</ li >
53
+ {{/each}}{{/each}}
54
+ </ ul >
60
55
</ div >
61
- {{/each}}
56
+ </ div >
57
+ {{/each}}
62
58
</ div >
63
59
</ div >
64
60
</ template >
You can’t perform that action at this time.
0 commit comments