Subversion Repositories SmartDukaan

Rev

Rev 33443 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33443 Rev 33501
Line 45... Line 45...
45
 
45
 
46
                <table class="table table-border table-condensed table-bordered" id="all-print-resource">
46
                <table class="table table-border table-condensed table-bordered" id="all-print-resource">
47
                    <thead>
47
                    <thead>
48
                    <tr>
48
                    <tr>
49
                        <th>Title</th>
49
                        <th>Title</th>
50
                        <th>Image Url</th>
50
                        <th>Thumbnail</th>
51
                        <th>Start Date</th>
51
                        <th>Start Date</th>
52
                        <th>End Date</th>
52
                        <th>End Date</th>
53
                        <th>Action</th>
53
                        <th>Action</th>
54
                    </tr>
54
                    </tr>
55
                    </thead>
55
                    </thead>
Line 57... Line 57...
57
                        #if(!$printResources.isEmpty())
57
                        #if(!$printResources.isEmpty())
58
 
58
 
59
                            #foreach($printResource in $printResources)
59
                            #foreach($printResource in $printResources)
60
                            <tr>
60
                            <tr>
61
                                <td>$printResource.getTitle()</td>
61
                                <td>$printResource.getTitle()</td>
62
                                <td>$printResource.getImgUrl()</td>
62
                                <td><img src="$printResource.getThumbnailUrl()" style="height: 40px;width: 80px;"></td>
63
                                <td>$printResource.getFormattedStartdDate()</td>
63
                                <td>$printResource.getFormattedStartdDate()</td>
64
                                #if ($printResource.getFormattedEndDate())
64
                                #if ($printResource.getFormattedEndDate())
65
                                    <td>$printResource.getFormattedEndDate()</td>
65
                                    <td>$printResource.getFormattedEndDate()</td>
66
                                #else
66
                                #else
67
                                    <td></td>
67
                                    <td></td>
68
                                #end
68
                                #end
69
                                <td>
69
                                <td>
70
                                    <a href="$printResource.getImgUrl()" class="btn btn-info"
70
                                    <a href="$printResource.getImgUrl()" class="btn btn-info btn-sm"
71
                                       data-url="$printResource.getImgUrl()" target="_blank">View Image</a>
71
                                       data-url="$printResource.getImgUrl()" target="_blank">View Image</a>
72
                                    <button class="btn btn-info change-end-date-btn"
72
                                    <button class="btn btn-info btn-sm change-end-date-btn"
73
                                            data-url="$printResource.getImgUrl()" data-printid="$printResource.getId()"
73
                                            data-url="$printResource.getImgUrl()" data-printid="$printResource.getId()"
74
                                            data-toggle="modal" data-target="#dateChangeModel">Change End Date
74
                                            data-toggle="modal" data-target="#dateChangeModel">Change End Date
75
                                    </button>
75
                                    </button>
76
                                </td>
76
                                </td>
77
                            </tr>
77
                            </tr>