From 7a1b2d4c26ca6b0b0ece512888304b9d8e218529 Mon Sep 17 00:00:00 2001 From: Yuki K Date: Thu, 15 Sep 2016 02:30:59 -0400 Subject: [PATCH] TESTING - Option Menu? --- app/views/post/show_partials/_options_panel.php | 6 +++--- config/locales/en.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/post/show_partials/_options_panel.php b/app/views/post/show_partials/_options_panel.php index 9fdde76..7913190 100755 --- a/app/views/post/show_partials/_options_panel.php +++ b/app/views/post/show_partials/_options_panel.php @@ -4,11 +4,11 @@ post->get_file_jpeg() ?>
  • post->tags()) && !current_user()->is_contributor_or_higher()) : $file_sample = $this->post->get_file_sample(current_user()); - echo $this->linkTo(($this->post->has_sample() ? $this->t('.download.larger') : $this->t('.download.normal')) . ' (' . $this->numberToHumanSize($file_sample['size']) . ' ' . strtoupper($file_sample['ext']) . ')', $file_sample['url'], array( + echo $this->linkTo(($this->post->has_sample() ? $this->t('.download.larger') : $this->t('.download.normal')) . ' ' . $this->numberToHumanSize($file_sample['size']), $file_sample['url'], array( 'class' => $this->post->has_sample() ? "original-file-changed":"original-file-unchanged", 'id' => 'highres')); else: - echo $this->linkTo(($this->post->has_sample() ? $this->t('.download.larger') : $this->t('.download.image')) . ' (' . $this->numberToHumanSize($file_jpeg['size']) . ' ' . strtoupper($file_jpeg['ext']) . ')', $file_jpeg['url'], array( + echo $this->linkTo(($this->post->has_sample() ? $this->t('.download.larger') : $this->t('.download.image')) . ' ' . $this->numberToHumanSize($file_jpeg['size']), $file_jpeg['url'], array( 'class' => ($this->post->has_sample() ? "original-file-changed":"original-file-unchanged"), 'id' => 'highres')); endif @@ -24,7 +24,7 @@
  • - linkTo('Options', '#', ['class' => 'submenu-button']) ?> + linkTo('Options ■', '#', ['class' => 'submenu-button']) ?>