{{!---------------------------------------------------------------------------- // widgetskin_tmpl.html // - post gallery template // @update date: 2023.10.06 // @author: GTGF, DANU -----------------------------------------------------------------------------}} {{!BEGIN: Post gallery wrapper}}
{{#if list}} {{! 리스트가 있는 경우}}
{{#each list}} {{!-------------------------------------------------------------------- // Single Item List // SelectN Single 게시판을 사용할 때, 아이템에 해당하는 element에 반드시 .g-baord-item class를 추가한다. // - .g-board-item class는 모든 스킨의 게시판에 공통으로 사용되는 class 명이다. // - data-target={{wr_id}} attribute와 {{wr_id}} 값을 반드시 포함한다. // @update date: 2018.05.21 by JB ---------------------------------------------------------------------}}
{{!BEGIN: Header}}
{{#if wr_lable}} {{! 라벨을 사용하는 경우}} {{{wr_label}}} {{/if}} {{#if ../is_checkbox}} {{! 체크박스를 사용하는 경우}}
{{/if}} {{!BEGIN: 이미지}}
{{!END: 이미지}} {{#ifCond img.type "==" "video"}} {{! 이미지 타입이 비디오인 경우}}
{{/ifCond}}
{{!END: Header}} {{!BEGIN: Body}}
{{#ifCond ../wset.info_line "==" "on"}} {{! 부가정보를 출력 설정한 경우}}
{{#if ../is_category}} {{#if ca_name}} {{ca_name}} {{/if}} {{/if}} {{#ifCond ../wset.info_comment "==" "on"}} {{! 댓글수를 사용하는 경우}} {{#ifCond comment '>' 0}} 댓글 {{comment}} {{/ifCond}} {{/ifCond}} {{#ifCond ../wset.info_hit "==" "on"}} {{! 조회수를 사용하는 경우}} {{#ifCond hit '>' '0'}} 조회 {{hit}} {{/ifCond}} {{/ifCond}} {{#ifCond ../wset.info_good "==" "on"}} {{! 추천을 사용하는 경우}} {{#ifCond good '>' '0'}} 추천 {{good}} {{/ifCond}} {{/ifCond}} {{#ifCond ../wset.info_nogood "==" "on"}} {{! 비추천을 사용하는 경우}} {{#ifCond nogood '>' '0'}} 비추천 {{nogood}} {{/ifCond}} {{/ifCond}}
{{else ifCond ../wset.info_line "==" "admin_only"}} {{#ifCond ../is_admin "==" 'super'}} {{! 부가정보 출력이 관리자만 보기인 경우}}
{{#if ../is_category}} {{#if ca_name}} {{ca_name}} {{/if}} {{/if}} {{#ifCond ../wset.info_comment "==" "on"}} {{! 댓글수를 사용하는 경우}} {{#ifCond comment '>' 0}} 댓글 {{comment}} {{/ifCond}} {{/ifCond}} {{#ifCond ../wset.info_hit "==" "on"}} {{! 조회수를 사용하는 경우}} {{#ifCond hit '>' '0'}} 조회 {{hit}} {{/ifCond}} {{/ifCond}} {{#ifCond ../wset.info_good "==" "on"}} {{! 추천을 사용하는 경우}} {{#ifCond good '>' '0'}} 추천 {{good}} {{/ifCond}} {{/ifCond}} {{#ifCond ../wset.info_nogood "==" "on"}} {{! 비추천을 사용하는 경우}} {{#ifCond nogood '>' '0'}} 비추천 {{nogood}} {{/ifCond}} {{/ifCond}}
{{/ifCond}} {{/ifCond}}
{{#if as_label}} {{! 카테고리 라벨을 사용하는 경우}}
{{as_label}}
{{/if}} {{!BEGIN: 포스트 제목}} {{!-------------------------------------------------------------- // .g-single-load Class // - Ajax 기반으로 Single View Page에 로드할 컨텐츠의 주소를 가지고 있는 A Tag element에 .g-single-load class를 추가한다.(MUST) // NOTICE: Single list 스킨 별로, .g-board-item element 내에 다수의 A Tag element가 포함될 수 있다. // ==> 따라서, 로드할 컨텐츠의 주소 값을 포함하고 있는 A Tag element에 .g-single-load class를 포함하여 구분한다. // @update date: 2018.05.21 by JB ---------------------------------------------------------------}}
{{{subject}}}
{{!END: 포스트 제목}}
{{!---------------------------------------------------------------- // Single view content loader // SelectN-Single 게시판을 사용할 때, content loader를 추가한다. // NOTICE: laoder는, 게시판의 style별로 서로 다른 디자인을 갖는다. // - CSS Naming: g-list-item-loader, g-gallery-item-loadeer, g-{skin_name}-item-loader // @update date: 2018.04.17 by JB -----------------------------------------------------------------}} {{#unless ../wset.single}}
{{/unless}} {{!BEGIN: 포스트 설명}}

{{! 요약 글이 있는 경우, 요약 글을 우선하여 출력함}} {{#if content_desc}}{{content_desc}}{{else}}{{content}}{{/if}}

{{!END: 포스트 설명}} {{#ifCond ../wset.info_writer "==" "on"}} {{! 작성자를 사용하는 경우}}
{{name}}

{{name}}

{{#ifCond ../wset.info_date "==" "on"}} {{! 작성일을 사용하는 경우}}

{{date}}

{{/ifCond}}
{{/ifCond}}
{{!END: Body}}
{{#if end_row}}
{{/if}} {{/each}}
{{else}} {{! 리스트가 없는 경우}} {{> widget_post_empty}} {{/if}}
{{!BEGIN: Post gallery wrapper}}