ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Oct 2, 2006, 7:55:21 PM (14 years ago)
Author:
ebihara
Message:

#107 終了時間なしの予定の時刻表示が現在時になっていたのを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/ebihara/prj_pnebiz/webapp_biz/modules/biz/templates/fh_biz_schedule_calendar.tpl

    r349 r352  
    105105({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
    106106({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
    107 ({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
    108 ({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
     107({if $item_schedule.finish_time})
     108        ({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
     109        ({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
     110({/if})
    109111<a href="({t_url m=biz a=page_s_view_schedule})&amp;id=({$item_schedule.biz_shisetsu_schedule_id})">
    110112({ext_include file="inc_biz_schedule_week_time.tpl"})
     
    115117({assign var="begin_time_H" value=$item_schedule.begin_date|date_format:"%H"})
    116118({assign var="begin_time_M" value=$item_schedule.begin_date|date_format:"%M"})
    117 ({assign var="finish_time_H" value=$item_schedule.finish_date|date_format:"%H"})
    118 ({assign var="finish_time_M" value=$item_schedule.finish_date|date_format:"%M"})
     119({if $item_schedule.finish_time})
     120        ({assign var="finish_time_H" value=$item_schedule.finish_date|date_format:"%H"})
     121        ({assign var="finish_time_M" value=$item_schedule.finish_date|date_format:"%M"})
     122({/if})
    119123({ext_include file="inc_biz_schedule_week_time.tpl"})
    120124<div class="padding_s" style="padding-top:0;">
     
    124128({assign var="begin_time_H" value=$item_schedule.begin_time|date_format:"%H"})
    125129({assign var="begin_time_M" value=$item_schedule.begin_time|date_format:"%M"})
    126 ({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
    127 ({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
     130({if $item_schedule.finish_time})
     131        ({assign var="finish_time_H" value=$item_schedule.finish_time|date_format:"%H"})
     132        ({assign var="finish_time_M" value=$item_schedule.finish_time|date_format:"%M"})
     133({/if})
    128134({ext_include file="inc_biz_schedule_week_time.tpl"})
    129135<div class="padding_s" style="padding-top:0;">
Note: See TracChangeset for help on using the changeset viewer.