Pannous

Pannous Commit Details

Date:2018-04-26 20:30:03 (2 years 7 months ago)
Author:Grégory Soutadé
Branch:master
Commit:2c14a3b04d31d62b2b3835f426cdfe372423a885
Parents: c774287a6186b537086459f3a38b94711255b1c4
Message:Display list URL in editing page

Changes:
Mfuel/app/views/lists.php (2 diffs)
Mpublic/assets/css/pannous.css (1 diff)

File differences

fuel/app/views/lists.php
2424
2525
2626
27
28
29
2730
2831
2932
3033
31
34
3235
3336
3437
3538
36
39
3740
38
41
3942
4043
4144
......
8083
8184
8285
86
87
88
89
8390
8491
8592
echo "<div class=\"form_title\">" . $form_title . "</div>";
echo $form;
?>
<div class="generated_code">
<label id="list_url"></label>
</div>
<div class="notice">
<?php if (isset($notice)) echo $notice; ?>
</div>
<?php if (isset($list_id)) { ?>
<div id="generated_code">
<div class="generated_code">
<label>REST code</label><br/>
<textarea id="generated_code_text" cols="100" rows="20">
</textarea>
</div>
<div id="generated_code">
<div class="generated_code">
<label>Subscribe/Unsubscribe from mail</label><br/>
<textarea id="generated_code_text" cols="100" rows="5">
<textarea cols="100" rows="5">
To subscribe, send an email at
<a href="mailto:<?php echo $target_list->email ?>?subject=Subscribe"><?php echo $target_list->email ?></a>
To unsubscribe, send an email at
code = document.getElementById("generated_code_text");
code.value = string;
list_url = document.getElementById("list_url");
url = '<?php echo \Config::get('base_url') ?>/lists/' + id
list_url.innerHTML = 'List URL : <a href="' + url + '">' + url + '</a>';
}
friend_name_change();
</script>
public/assets/css/pannous.css
136136
137137
138138
139
139
140140
141141
margin-right:0.5em;
}
#generated_code {
.generated_code {
margin-left:1em;
}

Archive Download the corresponding diff file

Branches