Image to Post - tag history
This commit is contained in:
parent
2aa4634ef1
commit
d6a2b3840c
@ -9,7 +9,7 @@ class TagHistoryTest extends ShimmiePHPUnitTestCase
|
|||||||
|
|
||||||
// Original
|
// Original
|
||||||
$this->get_page("post/view/$image_id");
|
$this->get_page("post/view/$image_id");
|
||||||
$this->assert_title("Image $image_id: old_tag");
|
$this->assert_title("Post $image_id: old_tag");
|
||||||
|
|
||||||
// Modified
|
// Modified
|
||||||
send_event(new TagSetEvent($image, ["new_tag"]));
|
send_event(new TagSetEvent($image, ["new_tag"]));
|
||||||
|
@ -19,7 +19,7 @@ class TagHistoryTheme extends Themelet
|
|||||||
{
|
{
|
||||||
$history_html = $this->history_list($history, true);
|
$history_html = $this->history_list($history, true);
|
||||||
|
|
||||||
$page->set_title('Image '.$image_id.' Tag History');
|
$page->set_title('Post '.$image_id.' Tag History');
|
||||||
$page->set_heading('Tag History: '.$image_id);
|
$page->set_heading('Tag History: '.$image_id);
|
||||||
$page->add_block(new NavBlock());
|
$page->add_block(new NavBlock());
|
||||||
$page->add_block(new Block("Tag History", $history_html, "main", 10));
|
$page->add_block(new Block("Tag History", $history_html, "main", 10));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user