X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fstatic%2Ft%2Fical%2Fattachment%2Fdisplay.html;h=13dbc9c00c5c43e315fcc9318b22478f5a502f92;hb=2439b9cc9db4404cc04400ef337a9b37c7aae581;hp=f5a3c51250ceb257f200f904229a34e8eee0c134;hpb=16f8f8fde275d078f912f28a2192b7245d11c500;p=citadel.git diff --git a/webcit/static/t/ical/attachment/display.html b/webcit/static/t/ical/attachment/display.html index f5a3c5125..13dbc9c00 100644 --- a/webcit/static/t/ical/attachment/display.html +++ b/webcit/static/t/ical/attachment/display.html @@ -1,5 +1,19 @@ +aaa + abc + +blarg + +blub + + +datum: + + + +xxxx + cde @@ -12,3 +26,128 @@ efg hij + + + +
+ +
_title"> + + +   +
+ + + + + + + + + + +
+
+
+ +
+ + +
+ + + + + + + + +
+ + +
+ + + + +
+ + + + + + +
+ + + + +
.
+ + + /* If the component has attendees, iterate through them. */ + for (p = icalcomponent_get_first_property(cal, ICAL_ATTENDEE_PROPERTY); + (p != NULL); + p = icalcomponent_get_next_property(cal, ICAL_ATTENDEE_PROPERTY)) { + StrBufAppendPrintf(Target, "
"); + StrBufAppendPrintf(Target, _("Attendee:")); + StrBufAppendPrintf(Target, "
"); + ch = icalproperty_get_attendee(p); + if ((ch != NULL) && !strncasecmp(buf, "MAILTO:", 7)) { + + /** screen name or email address */ + safestrncpy(buf, ch + 7, sizeof(buf)); + striplt(buf); + StrEscAppend(Target, NULL, buf, 0, 0); + StrBufAppendPrintf(Target, " "); + + /** participant status */ + partstat_as_string(buf, p); + StrEscAppend(Target, NULL, buf, 0, 0); + } + StrBufAppendPrintf(Target, "
\n"); + } + + /* If the component has subcomponents, recurse through them. */ + for (c = icalcomponent_get_first_component(cal, ICAL_ANY_COMPONENT); + (c != 0); + c = icalcomponent_get_next_component(cal, ICAL_ANY_COMPONENT)) { + /* Recursively process subcomponent */ + cal_process_object(Target, c, recursion_level+1, msgnum, cal_partnum); + } + + + + + + +
+ + +

_question"> + +    +_question','_title','','','Accept');"> +    +_question','_title','','','Tentative');"> +    +_question','_title','','','Decline');"> +

+ + + + + +

_question" > +Update to accept this reply and update your calendar.")> +    +_question','_title','','','Update');"> +    +_question','_title','','','Ignore');"> +

+ + + + if (recursion_level == 0) { +

 

+ }