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

Changeset 13490


Ignore:
Timestamp:
Apr 30, 2010, 5:01:52 PM (13 years ago)
Author:
ebihara
Message:

"Cancel" button is not displayed in the event detail page of the pc_frontend application if the event is at its capacity (fixes #646)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opCommunityTopicPlugin/trunk/apps/pc_frontend/modules/communityEvent/templates/showSuccess.php

    r13487 r13490  
    5656<div class="operation">
    5757<ul class="moreInfo button">
    58 <?php if (!$communityEvent->isClosed() && !$communityEvent->isExpired() && !$communityEvent->isAtCapacity()): ?>
     58<?php if (!$communityEvent->isClosed() && !$communityEvent->isExpired()): ?>
    5959<?php if ($communityEvent->isEventMember($sf_user->getMemberId())): ?>
    6060<li><input name="cancel" class="input_submit" type="submit" value="<?php echo __('Cancel') ?>" /></li>
    61 <?php else: ?>
     61<?php elseif(!$communityEvent->isAtCapacity()): ?>
    6262<li><input name="participate" class="input_submit" type="submit" value="<?php echo __('Participate in this event') ?>" /></li>
    6363<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.